Partager via


Constructeur ServerGroup (ServerGroup, String)

Initializes a new instance of the ServerGroup object based on the specified server group and with the specified name.

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

Syntaxe

'Déclaration
Public Sub New ( _
    serverGroup As ServerGroup, _
    name As String _
)
'Utilisation
Dim serverGroup As ServerGroup 
Dim name As String 

Dim instance As New ServerGroup(serverGroup, _
    name)
public ServerGroup(
    ServerGroup serverGroup,
    string name
)
public:
ServerGroup(
    ServerGroup^ serverGroup, 
    String^ name
)
new : 
        serverGroup:ServerGroup * 
        name:string -> ServerGroup
public function ServerGroup(
    serverGroup : ServerGroup, 
    name : String
)

Paramètres

Voir aussi

Référence

ServerGroup Classe

Surcharge ServerGroup

Espace de noms Microsoft.SqlServer.Management.Smo.RegisteredServers

Autres ressources

Gestion des serveurs inscrits

sp_ActiveDirectory_SCP (Transact-SQL)