Nota
O acesso a esta página requer autorização. Podes tentar iniciar sessão ou mudar de diretório.
O acesso a esta página requer autorização. Podes tentar mudar de diretório.
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 ( _
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
- serverGroup
Tipo: Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup
The T: [Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup] to which the new registered server should be added.
- name
Tipo: System.String
A String value that specifies the name of the registered server.
Consulte também
Referência
Sobrecarregado RegisteredServer
Namespace Microsoft.SqlServer.Management.Smo.RegisteredServers