次の方法で共有


ManagementGroup.Connect Method (String)

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

Connects to a management server of the specified name.

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

Usage

'Usage
Dim serverName As String
Dim returnValue As ManagementGroup

returnValue = ManagementGroup.Connect(serverName)

Syntax

'Declaration
Public Shared Function Connect ( _
    serverName As String _
) As ManagementGroup
public static ManagementGroup Connect (
    string serverName
)
public:
static ManagementGroup^ Connect (
    String^ serverName
)
public static ManagementGroup Connect (
    String serverName
)
public static function Connect (
    serverName : String
) : ManagementGroup

Parameters

  • serverName
    The name of the management server to which the management group is connected.

Return Value

Returns the new ManagementGroup 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

See Also

Reference

ManagementGroup Class
ManagementGroup Members
Microsoft.EnterpriseManagement Namespace