MonitoringConnectorSubscription.Name Property

 

Applies To: Operations Manager for System Center 2012

Gets or sets the name for the connector subscription.

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

Syntax

public string Name { get; set; }
public:
property String^ Name {
    String^ get();
    void set(String^ value);
}
member Name : string with get, set
Public Property Name As String

Property Value

Type: System.String

Returns a String that contains the name of the connector subscription.

Remarks

The Name of the subscription. The Name property is set by the MonitoringConnectorSubscription constructor.

The Name property must be unique and cannot duplicate any other subscription name. Attempting to modify the Name property with the Update method will result in an InvalidOperationException being thrown.

If the DisplayName property is set to null when the subscription is created, the Name property is used in the Alerts Connector - Product Connector Properties dialog box as well as in the Product Connector Subscription Wizard.

Examples

See MonitoringConnectorSubscription for an example of this property.

See Also

MonitoringConnectorSubscription Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top