다음을 통해 공유


MSFT_FSRMClassificationPropertyDefinition class

Represents a classification property definition.

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

Syntax

[dynamic, provider("FSRMWmiProvider")]
class MSFT_FSRMClassificationPropertyDefinition
{
  string                               Name;
  string                               DisplayName;
  string                               Description;
  uint32                               Type;
  MSFT_FSRMClassificationPropertyValue PossibleValue[];
  string                               Parameters[] = {};
  uint32                               Flags[];
  uint32                               AppliesTo[];
};

Members

The MSFT_FSRMClassificationPropertyDefinition class has these types of members:

Methods

The MSFT_FSRMClassificationPropertyDefinition class has these methods.

Method Description
Update Forces an update of the global classification property definitions from Active Directory if any.

Properties

The MSFT_FSRMClassificationPropertyDefinition class has these properties.

AppliesTo

Data type: uint32 array

Access type: Read-only

Flags that indicate what a FSRM property definition can be applied to.

Files (1)

The Classification Property Definition applies to files.

Folders (2)

The Classification Property Definition applies to folders.

Description

Data type: string

Access type: Read/write

""

An optional string up to 1KB in length. The default value is an empty string.

DisplayName

Data type: string

Access type: Read/write

An optional string up to 100 characters in length. The value must be unique for classification property definitions on the server.

Flags

Data type: uint32 array

Access type: Read-only

Flags that describe the classification property definition.

Global (1)

The FSRM property definition is defined globally, using group policy.

Deprecated (2)

The FSRM property definition is deprecated.

Secure (4)

The FSRM property definition is a secure type.

Name

Data type: string

Access type: Read/write

Qualifiers: key

A unique string up to 100 characters in length. Required.

Parameters

Data type: string array

Access type: Read/write

An array of strings formatted as "<name>=<value>", as accepted by the COM API for property definitions. The default value is an empty list.

PossibleValue

Data type: MSFT_FSRMClassificationPropertyValue array

Access type: Read/write

Qualifiers: EmbeddedInstance ("MSFT_FSRMClassificationPropertyValue")

An array of classification property values in the form of instances of the MSFT_FSRMClassificationPropertyValue class. The default value is an empty list.

Type

Data type: uint32

Access type: Read/write

Describes the type of the classification property definition.

OrderedList (1)

A classification property that defines an ordered list of possible string values, one of which may be assigned to the property.

The aggregation policy for this type is to use the order in which the items are added to the list to determine which value to use if the property exists and contains a value that is different from the rule's value. For example, if the list contains "HBI", "MBI", and "LBI", and one source specifies "MBI" and the other source specifies "HBI", the property value is set to "HBI" because it appears before "MBI" in the list.

You can use the following comparison operators with this type: Equal, Not equal, Greater than, Less than, Exists, and Not exists.

MultiChoice (2)

A classification property that defines a list of possible string values, one or more of which may be assigned to the property. Use the vertical bar character (|) to delimit the strings.

The aggregation policy for this type is to concatenate the values from each source, consolidating any duplicates. For example, if the list of possible values contains "Cat1", "Cat2", "Cat3", and "Cat4", and one source specifies "Cat3" and another source specifies "Cat1", the property value is set to "Cat1|Cat3".

You can use the following comparison operators with this type: Equal, Not equal, Contains, Contained in, Exists, and Not exists.

SingleChoice (3)

A classification property that defines a list of possible string values, only one of which may be assigned to the property.

No aggregation is available for this type.

You can use the following comparison operators with this type: Equal, Not equal, Exists, and Not exists.

String (4)

A classification property that contains an arbitrary string value.

The aggregation policy is to fail if two sources do not specify the same value.

You can use the following comparison operators with this type: Equal, Not equal, Greater than, Less than, Contains, Contained in, Start with, End with, Prefix of, Suffix of, Exists, and Not exists.

MultiString (5)

A classification property that contains one or more arbitrary string values. Use the vertical bar character (|) to delimit the strings.

The aggregation policy is to concatenate the values from each source, consolidating any duplicates. For example if one source specifies "String1|String2" and another source specifies "String1|String3", the property value is set to "String1|String2|String3".

You can use the following comparison operators with this type: Equal, Not equal, Contains, Contained in, Exists, and Not exists.

Integer (6)

A classification property that contains a decimal integer value expressed as a string.

The aggregation policy is to fail if two sources do not specify the same value.

You can use the following comparison operators with this type: Equal, Not equal, Greater than, Less than, Exists, and Not exists.

YesNo (7)

A classification property that contains a Boolean value expressed as a string. Use a string value of "0" for False or a string value of "1" for True.

The aggregation policy is to perform a logical OR on the values from each source. For example, if one source specifies True and another source specifies False, the property value is set to True. If two sources both specify False, the property value is set to False.

You can use the following comparison operators with this type: Equal, Not equal, Exists, and Not exists.

DateTime (8)

A classification property that contains a date value. The date value is a 64-bit decimal number (see FILETIME) expressed as a string.

The aggregation policy is to fail if two sources do not specify the same value.

You can use the following comparison operators with this type: Equal, Not equal, Greater than, Less than, Exists, and Not exists.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\FSRM
MOF
MSFT_FSRM.mof
DLL
SrmSvc.dll

See also

FSRM WMI Classes

MSFT_FSRMClassificationPropertyValue