Condividi tramite


Costruttore RegisteredServer (ServerGroup, String)

Initializes a new instance of the RegisteredServer class with the specified name and server.

Spazio dei nomi  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    parent As ServerGroup, _
    name As String _
)
'Utilizzo
Dim parent As ServerGroup
Dim name As String

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

Parametri