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
)
參數
- parent
型別:Microsoft.SqlServer.Management.RegisteredServers. . :: . .ServerGroup
A ServerGroup object that specifies the parent server group.
- name
型別:System. . :: . .String
A String value that specifies the name of the server group.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。