Partager via


Méthode ISfcCreatable.ScriptCreate

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

Espace de noms :  Microsoft.SqlServer.Management.RegisteredServers
Assembly :  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntaxe

'Déclaration
Private Function ScriptCreate As ISfcScript
    Implements ISfcCreatable.ScriptCreate
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Valeur de retour

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

Implémente

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