Freigeben über


PolicyCategory.ISfcCreatable.ScriptCreate-Methode

Creates a script that is used to create the policy. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur..

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 PolicyCategory 
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 new script.

Implementiert

ISfcCreatable.ScriptCreate()

Siehe auch

Verweis

PolicyCategory Klasse

Microsoft.SqlServer.Management.Dmf-Namespace