Freigeben über


ISfcCreatable.ScriptCreate-Methode

Produces the script to create this object to storage in its current state. This class cannot be inherited.

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

Syntax

'Declaration
Private Function ScriptCreate As ISfcScript
    Implements ISfcCreatable.ScriptCreate
'Usage
Dim instance As RegisteredServer
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 script.

Implementiert

ISfcCreatable. . :: . .ScriptCreate() () () ()