Initializes a new instance of the ServerGroup object based on the specified server group and with the specified name.
네임스페이스: Microsoft.SqlServer.Management.Smo.RegisteredServers
어셈블리: Microsoft.SqlServer.SmoExtended(Microsoft.SqlServer.SmoExtended.dll)
구문
‘선언
Public Sub New ( _
serverGroup As ServerGroup, _
name As String _
)
‘사용 방법
Dim serverGroup As ServerGroup
Dim name As String
Dim instance As New ServerGroup(serverGroup, _
name)
public ServerGroup(
ServerGroup serverGroup,
string name
)
public:
ServerGroup(
ServerGroup^ serverGroup,
String^ name
)
new :
serverGroup:ServerGroup *
name:string -> ServerGroup
public function ServerGroup(
serverGroup : ServerGroup,
name : String
)
매개 변수
- serverGroup
유형: Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup
A ServerGroup object value that specifies the server group on which to base the new server group.
- name
유형: System.String
A String value that specifies the name of the server group.
참고 항목
참조
Microsoft.SqlServer.Management.Smo.RegisteredServers 네임스페이스