Freigeben über


PolicyCategorySubscription.ISfcCreatable.ScriptCreate-Methode

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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Rückgabewert

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

Implementiert

ISfcCreatable.ScriptCreate()

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

PolicyCategorySubscription Klasse

Microsoft.SqlServer.Management.Dmf-Namespace