ConnectorFrameworkAdministration.GetConnectorSubscriptions Method ()
Applies To: Operations Manager for System Center 2012
Gets a collection of all the monitoring connector subscriptions in the Management Group.
Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public ReadOnlyCollection<MonitoringConnectorSubscription> GetConnectorSubscriptions()
public:
ReadOnlyCollection<MonitoringConnectorSubscription^>^ GetConnectorSubscriptions()
member GetConnectorSubscriptions : unit -> ReadOnlyCollection<MonitoringConnectorSubscription>
Public Function GetConnectorSubscriptions As ReadOnlyCollection(Of MonitoringConnectorSubscription)
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringConnectorSubscription>
Returns a ReadOnlyCollection<T> of MonitoringConnectorSubscription objects.
Remarks
You can iterate through the collection to manipulate each subscription. A monitoring connector subscription defines the criteria that are used to identify alerts that should be marked for a particular connector.
Examples
See DeleteConnectorSubscription for an example of this method.
See Also
ConnectorFrameworkAdministration Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace
Return to top