Partager via


Méthode ServerGroup.ISfcCreatable.ScriptCreate

Produces the script to create this object to storage in its current state. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server..

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 ServerGroup 
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()

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Voir aussi

Référence

ServerGroup Classe

Espace de noms Microsoft.SqlServer.Management.RegisteredServers