Share via


PolicyCategorySubscription.ISfcCreatable.ScriptCreate Method

Creates the script.

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

Syntax

'Declaration
Private Function ScriptCreate As ISfcScript
    Implements ISfcCreatable.ScriptCreate
'Usage
Dim instance As PolicyCategorySubscription
Dim returnValue As ISfcScript

returnValue = CType(instance, ISfcCreatable).ScriptCreate()
ISfcScript ISfcCreatable.ScriptCreate()
private:
virtual ISfcScript^ ScriptCreate() sealed = ISfcCreatable::ScriptCreate
private abstract ScriptCreate : unit -> ISfcScript 
private override ScriptCreate : unit -> ISfcScript 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
An ISfcScript object that contains the created script.

Implements

ISfcCreatable.ScriptCreate()

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.