다음을 통해 공유


MSFT_FSRMFileGroup class

Used to define a group of files based on one or more file name patterns. A file group is a logical collection of file name patterns identified by name that is used to define file screens and file screen exceptions. File group definitions may also be used for generating storage report jobs based on file type.

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

Syntax

[dynamic, provider("FSRMWmiProvider")]
class MSFT_FSRMFileGroup
{
  string Name;
  string Description;
  string IncludePattern[];
  string ExcludePattern[];
};

Members

The MSFT_FSRMFileGroup class has these types of members:

Properties

The MSFT_FSRMFileGroup class has these properties.

Description

Data type: string

Access type: Read/write

Describes the file group. Can be up to 10KB in size. The default value is an empty string.

ExcludePattern

Data type: string array

Access type: Read/write

An array of pattern strings that may include '*' and '?' as wildcard characters. The strings can be up to 1KB in size. This parameter is required.

IncludePattern

Data type: string array

Access type: Read/write

An array of pattern strings that may include '*' and '?' as wildcard characters. The strings can be up to 1KB in size. This parameter is required.

Name

Data type: string

Access type: Read/write

Qualifiers: key

The name of the file group. Can be up to 1KB in size. The value must be unique, and is required.

Remarks

A file group is formed by including all files that match the wildcard patterns in IncludePattern and then excluding all files that match the wildcard patterns in ExcludePattern. For example, to list all files except for "examplename", set IncludePattern to "*.*" and set ExcludePattern to "examplename".

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