Compartir a través de


RegisteredServer Constructor (ServerGroup, String)

Initializes a new instance of the RegisteredServer object.

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 RegisteredServer(serverGroup, _
    name)
public RegisteredServer(
    ServerGroup serverGroup,
    string name
)
public:
RegisteredServer(
    ServerGroup^ serverGroup, 
    String^ name
)
new : 
        serverGroup:ServerGroup * 
        name:string -> RegisteredServer
public function RegisteredServer(
    serverGroup : ServerGroup, 
    name : String
)

Parámetros