次の方法で共有


ConnectorFrameworkAdministration.GetConnectorSubscription Method (Guid)

 

Applies To: Operations Manager for System Center 2012

Gets a monitoring connector subscription by using the specified globally unique identifier (GUID).

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

Syntax

public MonitoringConnectorSubscription GetConnectorSubscription(
    Guid id
)
public:
MonitoringConnectorSubscription^ GetConnectorSubscription(
    Guid id
)
member GetConnectorSubscription : 
        id:Guid -> MonitoringConnectorSubscription
Public Function GetConnectorSubscription (
    id As Guid
) As MonitoringConnectorSubscription

Parameters

Return Value

Type: Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnectorSubscription

Returns MonitoringConnectorSubscription object that is identified by the specified GUID.

Exception type

Condition

ObjectNotFoundException

A subscription with the id is not found

Remarks

A monitoring connector subscription defines the criteria that are used to identify alerts that should be marked for a particular monitoring connector.

Examples

See Also

GetConnectorSubscription Overload
ConnectorFrameworkAdministration Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top