Share via


MonitoringObjectCriteria.IsValidPropertyName Method

Returns a Boolean value that determines whether the specified property name is a valid property that can be used in the criteria expression.

Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As MonitoringObjectCriteria
Dim name As String
Dim returnValue As Boolean

returnValue = instance.IsValidPropertyName(name)

Syntax

'Declaration
Public Overrides Function IsValidPropertyName ( _
    name As String _
) As Boolean
public override bool IsValidPropertyName (
    string name
)
public:
virtual bool IsValidPropertyName (
    String^ name
) override
public boolean IsValidPropertyName (
    String name
)
public override function IsValidPropertyName (
    name : String
) : boolean

Parameters

  • name
    The property name that you want to check to find out if it is a valid property name to use in the criteria expression.

Return Value

true if the specified property name can be used in the criteria expression; otherwise, false.

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

Reference

MonitoringObjectCriteria Class
MonitoringObjectCriteria Members
Microsoft.EnterpriseManagement.Monitoring Namespace

Send comments about this topic to Microsoft.