Share via


ServerGroup Constructor (String)

Initializes a new instance of the ServerGroup object that has the specified name.

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

Syntax

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

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

Parameters

See Also

Reference

ServerGroup Class

ServerGroup Overload

Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace

Other Resources

NIB Manage Registered Servers

sp_ActiveDirectory_SCP (Transact-SQL)