Deletes the specified monitoring connector. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ConnectorFrameworkProxy
Dim connectorId As Guid

instance.Cleanup(connectorId)

Syntax

Visual Basic
Public Sub Cleanup ( _
		connectorId As Guid _
)
C#
public void Cleanup (
		Guid connectorId
)
C++
public:
void Cleanup (
		Guid connectorId
)
J#
public void Cleanup (
		Guid connectorId
)
JScript
public function Cleanup (
		connectorId : Guid
)

Parameters

connectorId

The globally unique identifier (GUID) of the connector to remove.

Remarks

The Cleanup method should be called when a monitoring connector is to be removed permanently.

Before performing a Cleanup, remove any subscriptions to the monitoring connector and make sure the monitoring connector is uninitialized.


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