Freigeben über


CollectionSet.ISfcCreatable.ScriptCreate-Methode

Produces the script to create this object to storage in its current state. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

'Declaration
Private Function ScriptCreate As ISfcScript 
    Implements ISfcCreatable.ScriptCreate
'Usage
Dim instance As CollectionSet 
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
Returns ISfcScript. An ISfcScript object that contains the script.

Implementiert

ISfcCreatable.ScriptCreate()

Siehe auch

Verweis

CollectionSet Klasse

Microsoft.SqlServer.Management.Collector-Namespace