Allows you to perform operations related to monitoring connectors and connector subscriptions, such as creating connectors, retrieving monitoring connectors, and deleting connectors and connector subscriptions. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)


Visual Basic
Dim instance As ConnectorFrameworkAdministration


Visual Basic
Public Class ConnectorFrameworkAdministration
public class ConnectorFrameworkAdministration
public ref class ConnectorFrameworkAdministration
public class ConnectorFrameworkAdministration
public class ConnectorFrameworkAdministration


In the following example, the monitoring connector is created, set up, and initialized.

C#  Copy Code
using System;
using System.Collections.ObjectModel;
using System.Text;
using Microsoft.EnterpriseManagement;
using Microsoft.EnterpriseManagement.Monitoring;
using Microsoft.EnterpriseManagement.ConnectorFramework;
using Microsoft.EnterpriseManagement.Common;
using Microsoft.EnterpriseManagement.Configuration;

namespace ConnectorSample
	class Program
		static void Main(string[] args)
			// Connect to a management group.
			ManagementGroup mgmtGroup = new ManagementGroup("localhost");
			// Gets a reference to the connector framework administration object.
			ConnectorFrameworkAdministration cfAdmin = mgmtGroup.GetConnectorFrameworkAdministration();

			// Get a collection of all connectors.
			ReadOnlyCollection<MonitoringConnector> connectors = cfAdmin.GetMonitoringConnectors();

			// Display the connectors count
			Console.WriteLine("There are " + connectors.Count + " connectors in the Operations Manager.");
			foreach (MonitoringConnector connector in connectors)
				Console.WriteLine("\nDisplayName: " + connector.DisplayName);
				Console.WriteLine("  with a Bookmark time of: " + connector.Bookmark);
				Console.WriteLine("  Description:			 " + connector.Description);



The ConnectorFrameworkAdministration object is the starting point for operations related to monitoring connectors.

Inheritance Hierarchy


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.


Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also