IConnectorFramework.Uninitialize Method

Updated: April 16, 2012

Uninitializes the monitoring connector, which will prohibit getting any alerts when the GetMonitoringAlerts is called. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As IConnectorFramework Dim connectorId As Guid instance.Uninitialize(connectorId)<FaultContractAttribute(GetType(UnknownDatabaseException))> _ <FaultContractAttribute(GetType(ServerDisconnectedException))> _ <FaultContractAttribute(GetType(UnknownServiceException))> _ <FaultContractAttribute(GetType(UnknownChannelException))> _ <FaultContractAttribute(GetType(UnauthorizedAccessEnterpriseManagementException))> _ <FaultContractAttribute(GetType(UnknownAuthorizationStoreException))> _ <OperationContractAttribute> _ <FaultContractAttribute(GetType(InvalidDatabaseDataException))> _ <FaultContractAttribute(GetType(ConnectorInvalidException))> _ <FaultContractAttribute(GetType(ConnectorAlreadyInStateException))> _ <FaultContractAttribute(GetType(ServiceNotRunningException))> _ <FaultContractAttribute(GetType(TimeoutException))> _ Sub Uninitialize ( _ connectorId As Guid _ )[FaultContractAttribute(typeof(UnknownDatabaseException))] [FaultContractAttribute(typeof(ServerDisconnectedException))] [FaultContractAttribute(typeof(UnknownServiceException))] [FaultContractAttribute(typeof(UnknownChannelException))] [FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))] [FaultContractAttribute(typeof(UnknownAuthorizationStoreException))] [OperationContractAttribute] [FaultContractAttribute(typeof(InvalidDatabaseDataException))] [FaultContractAttribute(typeof(ConnectorInvalidException))] [FaultContractAttribute(typeof(ConnectorAlreadyInStateException))] [FaultContractAttribute(typeof(ServiceNotRunningException))] [FaultContractAttribute(typeof(TimeoutException))] void Uninitialize ( Guid connectorId )[FaultContractAttribute(typeof(UnknownDatabaseException))] [FaultContractAttribute(typeof(ServerDisconnectedException))] [FaultContractAttribute(typeof(UnknownServiceException))] [FaultContractAttribute(typeof(UnknownChannelException))] [FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))] [FaultContractAttribute(typeof(UnknownAuthorizationStoreException))] [OperationContractAttribute] [FaultContractAttribute(typeof(InvalidDatabaseDataException))] [FaultContractAttribute(typeof(ConnectorInvalidException))] [FaultContractAttribute(typeof(ConnectorAlreadyInStateException))] [FaultContractAttribute(typeof(ServiceNotRunningException))] [FaultContractAttribute(typeof(TimeoutException))] void Uninitialize ( Guid connectorId )/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownServiceException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownChannelException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException) */ /** @attribute OperationContractAttribute() */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ConnectorAlreadyInStateException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException) */ /** @attribute FaultContractAttribute(System.TimeoutException) */ void Uninitialize ( Guid connectorId )FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownServiceException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownChannelException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException) OperationContractAttribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ConnectorAlreadyInStateException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException) FaultContractAttribute(System.TimeoutException) function Uninitialize ( connectorId : Guid )ParametersconnectorIdThe globally unique identifier (GUID) of the monitoring connector to uninitialize.

After an Uninitialize no data can pass through the monitoring connector. A monitoring connector must be uninitialized before being deleted with the Cleanup method. Attempting to Uninitialize a monitoring connector that is already uninitialized results in an exception with the "The connector is already in the given state." warning.

Perform an Uninitialize before a Cleanup of the monitoring connector.


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