Compartilhar via


ManagementGroup.Connect Method (String)

 

Applies To: Operations Manager for System Center 2012

Connects to a management server of the specified name.

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

Syntax

public static ManagementGroup Connect(
    string serverName
)
public:
static ManagementGroup^ Connect(
    String^ serverName
)
static member Connect : 
        serverName:string -> ManagementGroup
Public Shared Function Connect (
    serverName As String
) As ManagementGroup

Parameters

  • serverName
    Type: System.String

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

Return Value

Type: Microsoft.EnterpriseManagement.ManagementGroup

Returns the newManagementGroupobject.

See Also

Connect Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top