Gets or sets the name for the connector subscription. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As MonitoringConnectorSubscription
Dim value As String

value = instance.Name

instance.Name = value

Syntax

Visual Basic
Public Property Name As String
C#
public string Name { get; set; }
C++
public:
property String^ Name {
		String^ get ();
		void set (String^ value);
}
J#
/** @property */
public String get_Name ()

/** @property */
public void set_Name (String value)
JScript
public function get Name () : String

public function set Name (value : String)

Property Value

A string that contains the name of the connector subscription.

Example

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.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also