QueryCriteria<T> Class

Definition

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Specifies the base class used for criteria types.

generic <typename T>
 where T : QueryCriteria<T>public ref class QueryCriteria abstract : Microsoft::EnterpriseManagement::Common::IQueryCriteria
public abstract class QueryCriteria<T> : Microsoft.EnterpriseManagement.Common.IQueryCriteria where T : QueryCriteria<T>
type QueryCriteria<'T (requires 'T :> QueryCriteria<'T>)> = class
    interface IQueryCriteria
Public MustInherit Class QueryCriteria(Of T)
Implements IQueryCriteria

Type Parameters

T

The type of query criteria.

Inheritance
QueryCriteria<T>
Derived
Implements

Constructors

QueryCriteria<T>()

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new QueryCriteria<T> object.

QueryCriteria<T>(String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new QueryCriteria<T> object.

Fields

Empty

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Represents the empty query option.

Properties

BackCompatPropertyToNewPropertyMappings

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the back compat property to new property mappings.

Criteria

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the criteria of this query.

CriteriaXml

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the XML parse tree representing the criteria.

Expression

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the expression that this criteria represents.

Methods

GenerateDalCriteria(IList<String>, ManagementPackClass, ManagementPack, EnterpriseManagementGroup, IList<String>)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Generates the Data Access Layer (DAL) criteria from the XML criteria.

GetInvalidCriteriaElements()

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Retrieves the criteria elements that are not valid.

IsValidPropertyName(String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Determines whether the specified name is a valid property name.

IsValidXmlString()

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Checks whether the criteria is an XML string.

ParseCriteria()

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Validates the criteria, maps the property names to column names, and adds the type ID context.

PropertyNameToColumnName(String, String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Retrieves the database column name representing the property name.

ToString()

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns the criteria string.

Applies to