IConnectorFramework.Cleanup(Guid) Method

Definition

Removes the given connector from the system.

public:
 void Cleanup(Guid connectorId);
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException))]
[System.ServiceModel.FaultContract(typeof(System.InvalidOperationException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException))]
[System.ServiceModel.FaultContract(typeof(System.TimeoutException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownServiceException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownChannelException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException))]
[System.ServiceModel.OperationContract]
public void Cleanup (Guid connectorId);
abstract member Cleanup : Guid -> unit
Public Sub Cleanup (connectorId As Guid)

Parameters

connectorId
Guid

The id of the connector to remove.

Attributes

Remarks

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.

Applies to