Compartilhar via


EnterpriseManagementGroup.Connect Method (EnterpriseManagementConnectionSettings)

Returns a new instance of the EnterpriseManagementGroup class by specifying the connection settings that are used to connect to the Service Manager server.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim connectionSettings As EnterpriseManagementConnectionSettings
Dim returnValue As EnterpriseManagementGroup

returnValue = EnterpriseManagementGroup.Connect(connectionSettings)

Syntax

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

Parameters

  • connectionSettings
    Defines the Service Manager server to connect to together with additional connection settings.

Return Value

The connected management group object.

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

Windows Server 2008,Windows Server 2003

See Also

Reference

EnterpriseManagementGroup Class
EnterpriseManagementGroup Members
Microsoft.EnterpriseManagement Namespace