Compartilhar via


MonitoringConnector.Uninitialize Method ()

 

Applies To: Operations Manager for System Center 2012

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)

Syntax

public void Uninitialize()
public:
void Uninitialize()
member Uninitialize : unit -> unit
Public Sub Uninitialize

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.

Examples

An example of this method is shown in MonitoringConnector.

See Also

MonitoringConnector Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top