Share via


ManagementGroup.Connect Method (ManagementGroupConnectionSettings)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Creates a new management group object.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim connectionSettings As ManagementGroupConnectionSettings
Dim returnValue As ManagementGroup

returnValue = ManagementGroup.Connect(connectionSettings)

Syntax

'Declaration
Public Shared Function Connect ( _
    connectionSettings As ManagementGroupConnectionSettings _
) As ManagementGroup
public static ManagementGroup Connect (
    ManagementGroupConnectionSettings connectionSettings
)
public:
static ManagementGroup^ Connect (
    ManagementGroupConnectionSettings^ connectionSettings
)
public static ManagementGroup Connect (
    ManagementGroupConnectionSettings connectionSettings
)
public static function Connect (
    connectionSettings : ManagementGroupConnectionSettings
) : ManagementGroup

Parameters

  • connectionSettings
    The connection settings of the new management group.

Return Value

Returns a new ManagementGroup object.

Example

For an example, see How to Connect to an SDK Service by Using Specified User Credentials.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

ManagementGroup Class
ManagementGroup Members
Microsoft.EnterpriseManagement Namespace