Share via


DiscoveryDataInvalidMonitoringClassPropertyValueException.MonitoringClassPropertyName Property

Gets the name of the Property that caused the exception to be thrown.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As DiscoveryDataInvalidMonitoringClassPropertyValueException
Dim value As String

value = instance.MonitoringClassPropertyName

Syntax

'Declaration
<ObsoleteAttribute("Use PropertyName")> _
Public ReadOnly Property MonitoringClassPropertyName As String
[ObsoleteAttribute("Use PropertyName")] 
public string MonitoringClassPropertyName { get; }
[ObsoleteAttribute(L"Use PropertyName")] 
public:
property String^ MonitoringClassPropertyName {
    String^ get ();
}
/** @property */
public String get_MonitoringClassPropertyName ()
public function get MonitoringClassPropertyName () : String

Property Value

Returns a string that contains the name of the Property that caused the exception to be thrown.

Remarks

This property is obsolete. Use the PropertyName property instead.

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

Windows Server 2008,Windows Server 2003

See Also

Reference

DiscoveryDataInvalidMonitoringClassPropertyValueException Class
DiscoveryDataInvalidMonitoringClassPropertyValueException Members
Microsoft.EnterpriseManagement.Common Namespace