Export (0) Print
Expand All

MSFT_FSRMFMJCondition class

Represents the file management job conditions.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

class MSFT_FSRMFMJCondition
{
  string Property;
  uint32 Condition;
  string Value;
  sint32 DateOffset;
};

Members

The MSFT_FSRMFMJCondition class has these types of members:

Methods

The MSFT_FSRMFMJCondition class has these methods.

MethodDescription
CreateFMJCondition

Creates an MSFT_FSRMFMJCondition instance.

 

Properties

The MSFT_FSRMFMJCondition class has these properties.

Condition
Data type: uint32
Access type: Read/write

Required.

ValueMeaning
Equal
1

The property condition is met if the property value is equal to a specified value.

NotEqual
2

The property condition is met if the property value is not equal to a specified value.

GreaterThan
3

The property condition is met if the property value is greater than to a specified value.

LessThan
4

The property condition is met if the property value is less than to a specified value.

Contain
5

The property condition is met if the property value contains the specified value.

Exist
6

The property condition is met if the property value exists.

NotExist
7

The property condition is met if the property value does not exist.

StartWith
8

The property condition is met if the property value starts with the specified value.

EndWith
9

The property condition is met if the property value ends with the specified value.

ContainedIn
10

The property condition is met if the property value is contained in the specified value.

PrefixOf
11

The property condition is met if the property value is a prefix of the specified value.

SuffixOf
12

The property condition is met if the property value is a suffix of the specified value.

MatchesPattern
13

The property condition is met if the property value matches the specified pattern. The pattern format is a semicolon-separated list of wildcard patterns. For example "*.exe;*.com".

 

DateOffset
Data type: sint32
Access type: Read/write

An integer offset from the date value. Optional. The default value is 0.

Property
Data type: string
Access type: Read/write

A string up to 1KB in size. Required.

ValueMeaning

The name of a valid classification property on the server.

File.Name
File.DateCreated
File.DateLastModified
File.DateLastAccessed

 

Value
Data type: string
Access type: Read/write

A string less than 1KB in size. The default is an empty string.

ValueMeaning
A classification property name that is not a DateTime property. Must be compatible with the property definition.
A classification property name that is a DateTime property.
  • A valid FileTime
  • File.DateCreated
  • File.DateLastModified
  • File.DateLastAccessed
  • Date.Now
File.Name

Strings with wildcards of '*' and '?' separated by a semicolon.

File.DateCreated

A positive integer.

File.DateLastModified

A positive integer.

File.DateLastAccessed

A positive integer.

 

Remarks

When the Property property refers to a classification property, the type of the classification property determines which Condition property values are acceptable. See the Type property of MSFT_FSRMClassificationPropertyDefinition.

IntegerStringYesNoOrderedListSingleChoiceMultiChoiceMultiStringDateTime
EqualYesYesYesYesYesYesYesYes
NotEqualYesYesYesYesYesYesYesYes
ExistYesYesYesYesYesYesYesYes
NotExistYesYesYesYesYesYesYesYes
ContainsNoYesNoNoNoYesYesNo
ContainedInNoYesNoNoNoNoNoNo
LessThanYesYesNoYesNoNoNoYes
GreaterThanYesYesNoYesNoNoNoYes
StartsWithNoYesNoNoNoNoNoNo
EndsWithNoYesNoNoNoNoNoNo
PrefixOfNoYesNoNoNoNoNoNo
SuffixOfNoYesNoNoNoNoNoNo

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Namespace

\\.\Root\Microsoft\Windows\FSRM

MOF

MSFT_FSRM.mof

See also

FSRM WMI Classes

 

 

Show:
© 2014 Microsoft