Policy.ScriptCreate Method
Creates a script that is used to create the policy.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Function ScriptCreate As ISfcScript
'Usage
Dim instance As Policy
Dim returnValue As ISfcScript
returnValue = instance.ScriptCreate()
public ISfcScript ScriptCreate()
public:
virtual ISfcScript^ ScriptCreate() sealed
abstract ScriptCreate : unit -> ISfcScript
override ScriptCreate : unit -> ISfcScript
public final function ScriptCreate() : ISfcScript
Return Value
Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
An ISfcScript object that contains the new script.