Sets up a new monitoring connector with the specified ConnectorInfo information and returns the monitoring connector identifier. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ConnectorFrameworkProxy
Dim connectorInfo As ConnectorInfo
Dim returnValue As Guid

returnValue = instance.Setup(connectorInfo)

Syntax

Visual Basic
Public Function Setup ( _
		connectorInfo As ConnectorInfo _
) As Guid
C#
public Guid Setup (
		ConnectorInfo connectorInfo
)
C++
public:
Guid Setup (
		ConnectorInfo^ connectorInfo
)
J#
public Guid Setup (
		ConnectorInfo connectorInfo
)
JScript
public function Setup (
		connectorInfo : ConnectorInfo
) : Guid

Parameters

connectorInfo

The ConnectorInfo object that contains the information for the monitoring connector to be inserted.

Return Value

The new globally unique identifier (GUID) for the monitoring connector that is used in future method calls.

Example

See ConnectorFrameworkProxy for an example of the Setup method.

Remarks

The Setup must be performed before the monitoring connector is initialized and used.


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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also