MonitoringConnectorSubscription.Name Property
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.
The name of the subscription.
public:
property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String
Property Value
Returns a String that contains the name of the connector subscription.
Examples
See MonitoringConnectorSubscription for an example of this property.
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.