Share via


QueryCriteria.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.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

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

returnValue = instance.IsValidPropertyName(name)

Syntax

'Declaration
Public MustOverride Function IsValidPropertyName ( _
    name As String _
) As Boolean
public abstract bool IsValidPropertyName (
    string name
)
public:
virtual bool IsValidPropertyName (
    String^ name
) abstract
public abstract boolean IsValidPropertyName (
    String name
)
public abstract 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

QueryCriteria Class
QueryCriteria Members
Microsoft.EnterpriseManagement.Common Namespace

Send comments about this topic to Microsoft.