ConnectorFrameworkAdministration.GetConnectorSubscription Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a monitoring connector subscription.
Overloads
GetConnectorSubscription(Guid) |
Retrieve Connector subscription by id. |
GetConnectorSubscription(String) |
Retrieve Connector subscription by name. |
Remarks
A monitoring connector subscription defines the criteria that are used to identify alerts that should be marked for a particular monitoring connector.
GetConnectorSubscription(Guid)
Retrieve Connector subscription by id.
public:
Microsoft::EnterpriseManagement::ConnectorFramework::MonitoringConnectorSubscription ^ GetConnectorSubscription(Guid id);
public Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnectorSubscription GetConnectorSubscription (Guid id);
member this.GetConnectorSubscription : Guid -> Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnectorSubscription
Public Function GetConnectorSubscription (id As Guid) As MonitoringConnectorSubscription
Parameters
- id
- Guid
The id.
Returns
A Connector subscription.
Exceptions
A subscription with that id not found
Examples
Remarks
A monitoring connector subscription defines the criteria that are used to identify alerts that should be marked for a particular monitoring connector.
Applies to
GetConnectorSubscription(String)
Retrieve Connector subscription by name.
public:
Microsoft::EnterpriseManagement::ConnectorFramework::MonitoringConnectorSubscription ^ GetConnectorSubscription(System::String ^ name);
public Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnectorSubscription GetConnectorSubscription (string name);
member this.GetConnectorSubscription : string -> Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnectorSubscription
Public Function GetConnectorSubscription (name As String) As MonitoringConnectorSubscription
Parameters
- name
- String
The name.
Returns
A Connector subscription.
Exceptions
A subscription with that name not found
Examples
Remarks
A monitoring connector subscription defines the criteria that are used to identify alerts that should be marked for a particular monitoring connector.