MSFT_SomFilter class

The MSFT_SomFilter class represents a list of rules, expressed as a query, which are evaluated on a target computer. The MSFT_SomFilter instances are held in the Active Directory and may be written one time and be valid for the entire domain. The MSFT_SomFilter 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

[Dynamic, Provider("PolicSOM"), UUID("{AE7B614F-AFE0-41ea-807E-3BD3F83CAF66}"), AMENDMENT]
class MSFT_SomFilter
{
  string    ID;
  string    Domain;
  string    Name;
  string    Description;
  MSFT_Rule Rules[];
  string    Author;
  string    SourceOrganization;
  datetime  ChangeDate;
  datetime  CreationDate;
};

Members

The MSFT_SomFilter class has these types of members:

Methods

The MSFT_SomFilter class has these methods.

Method Description
BatchEvaluate Evaluates a list of MSFT_SomFilter objects to determine whether the queries in each apply to this computer.
Evaluate Determines whether the queries expressed in Rules apply to this computer.

Properties

The MSFT_SomFilter class has these properties.

Author

Data type: string

Access type: Read/write

Originator of the MSFT_SomFilter object.

ChangeDate

Data type: datetime

Access type: Read/write

Date and time the object was last updated.

CreationDate

Data type: datetime

Access type: Read/write

Date and time the object was created.

Description

Data type: string

Access type: Read/write

Text that describes the object.

Domain

Data type: string

Access type: Read/write

Qualifiers: key

Domain of the object in DNS format. For example, "microsoft.com".

ID

Data type: string

Access type: Read/write

Qualifiers: key, MaxLen (38)

Unique identifier for the object instance. The identifier can be any unique name. If the name is missing, the GUID in registry format is used.

Name

Data type: string

Access type: Read/write

Qualifiers: NOT_NULL

Friendly name for the object.

Rules

Data type: MSFT_Rule array

Access type: Read/write

Qualifiers: NOT_NULL

Array of MSFT_Rule objects to be evaluated.

SourceOrganization

Data type: string

Access type: Read/write

Organization of the author.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\policy
MOF
PolicMan.mof
DLL
PolicMan.dll

See also

MSFT_Rule