Поделиться через


MonitoringConnectorSubscription Constructor (String, Guid, AlertSubscriptionConfiguration)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new MonitoringConnectorSubscription object.

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

Usage

'Usage
Dim name As String
Dim connectorId As Guid
Dim configuration As AlertSubscriptionConfiguration

Dim instance As New MonitoringConnectorSubscription(name, connectorId, configuration)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    connectorId As Guid, _
    configuration As AlertSubscriptionConfiguration _
)
public MonitoringConnectorSubscription (
    string name,
    Guid connectorId,
    AlertSubscriptionConfiguration configuration
)
public:
MonitoringConnectorSubscription (
    String^ name, 
    Guid connectorId, 
    AlertSubscriptionConfiguration^ configuration
)
public MonitoringConnectorSubscription (
    String name, 
    Guid connectorId, 
    AlertSubscriptionConfiguration configuration
)
public function MonitoringConnectorSubscription (
    name : String, 
    connectorId : Guid, 
    configuration : AlertSubscriptionConfiguration
)

Parameters

  • name
    The name of the monitoring connector subscription.
  • connectorId
    The globally unique identifier (GUID) of the monitoring connector for this subscription.

Example

See MonitoringConnectorSubscription for an example of this constructor.

Remarks

The name is the Name property. The connectorId is the MonitoringConnectorId property. The configuration is the Configuration property.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

MonitoringConnectorSubscription Class
MonitoringConnectorSubscription Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace