Compartilhar via


Construtor RegisteredServer (RegisteredServerCollection, String)

Initializes a new instance of the RegisteredServer object.

Namespace:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly:  Microsoft.SqlServer.SmoExtended (em Microsoft.SqlServer.SmoExtended.dll)

Sintaxe

'Declaração
Public Sub New ( _
    regServers As RegisteredServerCollection, _
    name As String _
)
'Uso
Dim regServers As RegisteredServerCollection
Dim name As String

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

Parâmetros