Partager via


QueryCriteria.GenerateDalCriteria Method

[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.

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

Usage

'Usage
Dim propertyNames As IList(Of String)
Dim managementPackClass As ManagementPackClass
Dim managementPack As ManagementPack
Dim managementGroup As EnterpriseManagementGroup
Dim invalidCriteriaElements As IList(Of String)

Me.GenerateDalCriteria(propertyNames, managementPackClass, managementPack, managementGroup, invalidCriteriaElements)

Syntax

'Declaration
Protected Sub GenerateDalCriteria ( _
    propertyNames As IList(Of String), _
    managementPackClass As ManagementPackClass, _
    managementPack As ManagementPack, _
    managementGroup As EnterpriseManagementGroup, _
    invalidCriteriaElements As IList(Of String) _
)
protected void GenerateDalCriteria (
    IList<string> propertyNames,
    ManagementPackClass managementPackClass,
    ManagementPack managementPack,
    EnterpriseManagementGroup managementGroup,
    IList<string> invalidCriteriaElements
)
protected:
void GenerateDalCriteria (
    IList<String^>^ propertyNames, 
    ManagementPackClass^ managementPackClass, 
    ManagementPack^ managementPack, 
    EnterpriseManagementGroup^ managementGroup, 
    IList<String^>^ invalidCriteriaElements
)
protected void GenerateDalCriteria (
    IList<String> propertyNames, 
    ManagementPackClass managementPackClass, 
    ManagementPack managementPack, 
    EnterpriseManagementGroup managementGroup, 
    IList<String> invalidCriteriaElements
)
protected function GenerateDalCriteria (
    propertyNames : IList<String>, 
    managementPackClass : ManagementPackClass, 
    managementPack : ManagementPack, 
    managementGroup : EnterpriseManagementGroup, 
    invalidCriteriaElements : IList<String>
)

Parameters

  • propertyNames
    The list of valid generic properties.
  • managementPackClass
    The management pack class.
  • managementPack
    The management pack.
  • managementGroup
    The management group.
  • invalidCriteriaElements
    The list of criteria elements that are not allowed based on the schema.

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

QueryCriteria Generic Class
QueryCriteria Members
Microsoft.EnterpriseManagement.Common Namespace