Share via


Policy.ScriptCreateWithObjectSet Method

Creates the ISfcScript object of the ObjectSet.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Function ScriptCreateWithObjectSet As ISfcScript
'Usage
Dim instance As Policy 
Dim returnValue As ISfcScript 

returnValue = instance.ScriptCreateWithObjectSet()
public ISfcScript ScriptCreateWithObjectSet()
public:
ISfcScript^ ScriptCreateWithObjectSet()
member ScriptCreateWithObjectSet : unit -> ISfcScript
public function ScriptCreateWithObjectSet() : ISfcScript

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The ISfcScript object.

See Also

Reference

Policy Class

Microsoft.SqlServer.Management.Dmf Namespace