MonitoringConnectorSubscription.Name Property
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets or sets the name for the connector subscription.
Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As MonitoringConnectorSubscription
Dim value As String
value = instance.Name
instance.Name = value
Syntax
'Declaration
Public Property Name As String
public string Name { get; set; }
public:
property String^ Name {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_Name ()
/** @property */
public void set_Name (String value)
public function get Name () : String
public function set Name (value : String)
Property Value
Returns 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 Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
MonitoringConnectorSubscription Class
MonitoringConnectorSubscription Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace