Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.68 KB

postjoinfilter-qualifier.md

File metadata and controls

56 lines (36 loc) · 1.68 KB
description ms.assetid ms.tgt_platform title ms.topic ms.date topic_type api_name api_type api_location
You can filter the instances of a join view class by assigning a WQL query to the PostJoinFilter qualifier.
926a7262-ea6b-4a5a-8aa7-6ec0ae389031
multiple
PostJoinFilter Qualifier
reference
05/31/2018
APIRef
kbSyntax
PostJoinFilter
NA

PostJoinFilter Qualifier

You can filter the instances of a join view class by assigning a WQL query to the PostJoinFilter qualifier. The value of the WQL query is applied to the instances of the join view class. You can use this qualifier to restrict the instances of your view class to those that meet specific conditions. The following WQL query filters instances of a join class called based on instances of Win32_LogicalDisk.

PostJoinFilter("SELECT * FROM JoinDrive" +
    " WHERE FreeSpace > 1000000" +
    " and Description = \"3 1/2 Inch Floppy Drive\"")

There are several restrictions to the use of this qualifier:

  • PostJoinFilter is only available to join view classes.
  • The class name and property names specified in the query refer to the properties of the view class, not the source class.
  • No exclusion of properties is permitted; only SELECT * type queries are allowed.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008

See also

Qualifiers Specific to the View Provider