Condividi tramite


Metodo ISfcCreatable.ScriptCreate

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

Spazio dei nomi  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintassi

'Dichiarazione
Private Function ScriptCreate As ISfcScript
    Implements ISfcCreatable.ScriptCreate
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Valore restituito

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

Implementa

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