ServerGroup Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ServerGroup object.
Overloads
ServerGroup() |
Initializes a new instance of the ServerGroup object. |
ServerGroup(String) |
Initializes a new instance of the ServerGroup object that has the specified name. |
ServerGroup(ServerGroup, String) |
Initializes a new instance of the ServerGroup object based on the specified server group and with the specified name. |
ServerGroup()
Initializes a new instance of the ServerGroup object.
public:
ServerGroup();
public ServerGroup ();
Public Sub New ()
Remarks
The default constructor initializes any fields to their default values.
See also
Applies to
ServerGroup(String)
Initializes a new instance of the ServerGroup object that has the specified name.
public:
ServerGroup(System::String ^ name);
public ServerGroup (string name);
new Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup : string -> Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup
Public Sub New (name As String)
Parameters
See also
Applies to
ServerGroup(ServerGroup, String)
Initializes a new instance of the ServerGroup object based on the specified server group and with the specified name.
public:
ServerGroup(Microsoft::SqlServer::Management::Smo::RegisteredServers::ServerGroup ^ serverGroup, System::String ^ name);
public ServerGroup (Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup serverGroup, string name);
new Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup : Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup * string -> Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup
Public Sub New (serverGroup As ServerGroup, name As String)
Parameters
- serverGroup
- ServerGroup
A ServerGroup object value that specifies the server group on which to base the new server group.