Freigeben über


ServerGroup-Konstruktor (ServerGroup, String)

Initializes a new instance of the ServerGroup class that has the specified name and is a subgroup of the specified parent.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
Public Sub New ( _
    parent As ServerGroup, _
    name As String _
)
'Usage
Dim parent As ServerGroup
Dim name As String

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

Parameter

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.