Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the RegisteredServer object.
Namespace: Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Sub New ( _
serverGroup As ServerGroup, _
name As String _
)
'Usage
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
)
Parameters
- serverGroup
Type: Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup
The T: [Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup] to which the new registered server should be added.
- name
Type: System.String
A String value that specifies the name of the registered server.
See Also
Reference
Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace