다음을 통해 공유


MSFT_FSRMClassification class

Represents a classification task.

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

Syntax

[dynamic, provider("FSRMWmiProvider")]
class MSFT_FSRMClassification
{
  string                 Server;
  string                 LastError;
  uint32                 Status;
  string                 ExcludeNamespace[];
  MSFT_FSRMScheduledTask Schedule;
  boolean                Continuous;
  boolean                ContinuousLog;
  uint64                 ContinuousLogSize;
};

Members

The MSFT_FSRMClassification class has these types of members:

Methods

The MSFT_FSRMClassification class has these methods.

Method Description
Start Starts a classification job.
Stop Stops the running instance of a classification job.
Wait Waits for the specified period of time or until classification has finished running.

Properties

The MSFT_FSRMClassification class has these properties.

Continuous

Data type: boolean

Access type: Read/write

If True real time classification is enabled.

ContinuousLog

Data type: boolean

Access type: Read/write

If True real time classification logs are enabled.

ContinuousLogSize

Data type: uint64

Access type: Read/write

Maximum size, in bytes, of the real time classification log. If 0 then there is no limit.

ExcludeNamespace

Data type: string array

Access type: Read/write

An array of strings containing the list of folders to not include in classification or file management. Each folder may include "[AllVolumes]" at the start of a path to indicate the namespace should be excluded on all volumes. Each namespace may have the string " /s" appended to it. In that case all folders and files within that namespace will be excluded. If it is not present, only the files within the specified folder will be excluded. If one string is "[Default]", then the default values are added to the exclude namespaces.

LastError

Data type: string

Access type: Read-only

The error message from the last time classification was run.

Schedule

Data type: MSFT_FSRMScheduledTask

Access type: Read/write

Qualifiers: EmbeddedInstance ("MSFT_FSRMScheduledTask")

An optional MSFT_FSRMScheduledTask instance that represents the schedule for this classification task.

Server

Data type: string

Access type: Read-only

Qualifiers: key

This property is reserved.

Status

Data type: uint32

Access type: Read-only

The running status of classification.

NotRunning (1)

The classification job is not running.

Queued (2)

The classification job is queued to run but is not running.

Running (3)

The classification job is running.

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