Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MSFT_Rule class

The MSFT_Rule class represents a single rule in a MSFT_SomFilter object. The rule is expressed as a query. The MSFT_Rule class is compiled in the \root\policy namespace.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

class MSFT_Rule
{
  string Query;
  string QueryLanguage = "WQL";
  string TargetNamespace;
};

Members

The MSFT_Rule class has these types of members:

Properties

The MSFT_Rule class has these properties.

Query
Data type: string
Access type: Read/write

Query that defines the scope of the rule.

QueryLanguage
Data type: string
Access type: Read/write

Language in which the query is expressed. The property value must be "WQL".

TargetNamespace
Data type: string
Access type: Read/write

Namespace in which the query is evaluated.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

\root\policy

MOF

PolicMan.mof

DLL

PolicMan.dll

See also

MSFT_SomFilter

 

 

Show:
© 2014 Microsoft