ServerGroup 构造函数 (ServerGroup, String)

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

命名空间:  Microsoft.SqlServer.Management.RegisteredServers
程序集:  Microsoft.SqlServer.Management.RegisteredServers(在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

语法

声明
Public Sub New ( _
    parent As ServerGroup, _
    name As String _
)
用法
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
)

参数

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。