Επεξεργασία

Κοινή χρήση μέσω


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