Compartir a través de


ServerGroup Constructor (ServerGroup, String)

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
Public Sub New ( _
    serverGroup As ServerGroup, _
    name As String _
)
'Uso
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
)

Parámetros

Vea también

Referencia

ServerGroup Clase

Sobrecarga de ServerGroup

Espacio de nombres Microsoft.SqlServer.Management.Smo.RegisteredServers

Otros recursos

Administrar servidores registrados

sp_ActiveDirectory_SCP (Transact-SQL)