次の方法で共有


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

[Abstract, UUID("{D157AAFD-D42F-45cd-B30B-F67CF152C9F9}"), AMENDMENT]
class MSFT_Rule
{
  string QueryLanguage = "WQL";
  string TargetNamespace;
  string Query;
};

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

Qualifiers: NOT_NULL

Query that defines the scope of the rule.

QueryLanguage

Data type: string

Access type: Read/write

Qualifiers: NOT_NULL

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

TargetNamespace

Data type: string

Access type: Read/write

Qualifiers: NOT_NULL

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