Share via


ManagementGroup Constructors

Definition

Creates a newManagementGroupobject.

Overloads

ManagementGroup(InProcEnterpriseManagementConnectionSettings)

Initializes a new instance of the ManagementGroup class.

ManagementGroup(ManagementGroupConnectionSettings)

This creates a new ManagementGroup object.

ManagementGroup(String)

This creates a new ManagementGroup object.

ManagementGroup(InProcEnterpriseManagementConnectionSettings)

Initializes a new instance of the ManagementGroup class.

public:
 ManagementGroup(Microsoft::EnterpriseManagement::InProcEnterpriseManagementConnectionSettings ^ connectionSettings);
public ManagementGroup (Microsoft.EnterpriseManagement.InProcEnterpriseManagementConnectionSettings connectionSettings);
new Microsoft.EnterpriseManagement.ManagementGroup : Microsoft.EnterpriseManagement.InProcEnterpriseManagementConnectionSettings -> Microsoft.EnterpriseManagement.ManagementGroup
Public Sub New (connectionSettings As InProcEnterpriseManagementConnectionSettings)

Parameters

connectionSettings
InProcEnterpriseManagementConnectionSettings

The connection settings.

Applies to

ManagementGroup(ManagementGroupConnectionSettings)

This creates a new ManagementGroup object.

public:
 ManagementGroup(Microsoft::EnterpriseManagement::ManagementGroupConnectionSettings ^ connectionSettings);
public ManagementGroup (Microsoft.EnterpriseManagement.ManagementGroupConnectionSettings connectionSettings);
new Microsoft.EnterpriseManagement.ManagementGroup : Microsoft.EnterpriseManagement.ManagementGroupConnectionSettings -> Microsoft.EnterpriseManagement.ManagementGroup
Public Sub New (connectionSettings As ManagementGroupConnectionSettings)

Parameters

connectionSettings
ManagementGroupConnectionSettings

The connection settings.

Exceptions

connectionSettings is null

UserName, Password, and Domain must all be provided if any one is specified

serverName.Length is out of range of acceptable values.

See also

Applies to

ManagementGroup(String)

This creates a new ManagementGroup object.

public:
 ManagementGroup(System::String ^ serverName);
public ManagementGroup (string serverName);
new Microsoft.EnterpriseManagement.ManagementGroup : string -> Microsoft.EnterpriseManagement.ManagementGroup
Public Sub New (serverName As String)

Parameters

serverName
String

The server to connect to.

Exceptions

serverName is null.

serverName.Length is out of range of acceptable values.

Applies to