IConnectorFramework.Uninitialize Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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)
Usage
'Usage
Dim instance As IConnectorFramework
Dim connectorId As Guid
instance.Uninitialize(connectorId)
Syntax
'Declaration
<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
)
Parameters
- connectorId
The globally unique identifier (GUID) of the monitoring connector to uninitialize.
Remarks
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.
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 Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
IConnectorFramework Interface
IConnectorFramework Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace