Partager via


MonitoringConnector.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 GetMonitoringAlerts is called.

Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As MonitoringConnector

instance.Uninitialize

Syntax

'Declaration
Public Sub Uninitialize
public void Uninitialize ()
public:
void Uninitialize ()
public void Uninitialize ()
public function Uninitialize ()

Example

An example of this method is shown in MonitoringConnector.

Remarks

After an Uninitialize no alerts can be retrieved with 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

MonitoringConnector Class
MonitoringConnector Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace