IConnectorFramework.Cleanup Method

Updated: April 16, 2012

Deletes the specified monitoring connector. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As IConnectorFramework Dim connectorId As Guid instance.Cleanup(connectorId)<FaultContractAttribute(GetType(InvalidDatabaseDataException))> _ <FaultContractAttribute(GetType(ConnectorInvalidException))> _ <FaultContractAttribute(GetType(InvalidOperationException))> _ <FaultContractAttribute(GetType(UnknownAuthorizationStoreException))> _ <FaultContractAttribute(GetType(UnknownDatabaseException))> _ <OperationContractAttribute> _ <FaultContractAttribute(GetType(TimeoutException))> _ <FaultContractAttribute(GetType(ServerDisconnectedException))> _ <FaultContractAttribute(GetType(ServiceNotRunningException))> _ <FaultContractAttribute(GetType(UnknownServiceException))> _ <FaultContractAttribute(GetType(UnknownChannelException))> _ <FaultContractAttribute(GetType(UnauthorizedAccessEnterpriseManagementException))> _ Sub Cleanup ( _ connectorId As Guid _ )[FaultContractAttribute(typeof(InvalidDatabaseDataException))] [FaultContractAttribute(typeof(ConnectorInvalidException))] [FaultContractAttribute(typeof(InvalidOperationException))] [FaultContractAttribute(typeof(UnknownAuthorizationStoreException))] [FaultContractAttribute(typeof(UnknownDatabaseException))] [OperationContractAttribute] [FaultContractAttribute(typeof(TimeoutException))] [FaultContractAttribute(typeof(ServerDisconnectedException))] [FaultContractAttribute(typeof(ServiceNotRunningException))] [FaultContractAttribute(typeof(UnknownServiceException))] [FaultContractAttribute(typeof(UnknownChannelException))] [FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))] void Cleanup ( Guid connectorId )[FaultContractAttribute(typeof(InvalidDatabaseDataException))] [FaultContractAttribute(typeof(ConnectorInvalidException))] [FaultContractAttribute(typeof(InvalidOperationException))] [FaultContractAttribute(typeof(UnknownAuthorizationStoreException))] [FaultContractAttribute(typeof(UnknownDatabaseException))] [OperationContractAttribute] [FaultContractAttribute(typeof(TimeoutException))] [FaultContractAttribute(typeof(ServerDisconnectedException))] [FaultContractAttribute(typeof(ServiceNotRunningException))] [FaultContractAttribute(typeof(UnknownServiceException))] [FaultContractAttribute(typeof(UnknownChannelException))] [FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))] void Cleanup ( Guid connectorId )/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException) */ /** @attribute FaultContractAttribute(System.InvalidOperationException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException) */ /** @attribute OperationContractAttribute() */ /** @attribute FaultContractAttribute(System.TimeoutException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownServiceException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownChannelException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException) */ void Cleanup ( Guid connectorId )FaultContractAttribute(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException) FaultContractAttribute(System.InvalidOperationException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException) OperationContractAttribute FaultContractAttribute(System.TimeoutException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownServiceException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownChannelException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException) function Cleanup ( connectorId : Guid )ParametersconnectorIdThe globally unique identifier (GUID) of the connector to remove.

The Cleanup method should be called when a 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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms