ServerGroup Constructor (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
)
Parameters
- parent
Type: Microsoft.SqlServer.Management.RegisteredServers.ServerGroup
A ServerGroup object that specifies the parent server group.
- name
Type: System.String
A String value that specifies the name of the server group.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.