Partager via


IFsrmClassifierModuleImplementation.LastModified Property

 

Retrieves the last time the classifier's internal rules were modified as a 64-bit FILETIME value.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

object LastModified { get; }
property Object^ LastModified {
    Object^ get();
}
abstract LastModified : Object with get
ReadOnly Property LastModified As Object

Property Value

Type: System.Object

Returns a Object that contains the date for the last time the internal policies of the classifier was modified. The variant is of type VT_DECIMAL. To access a value that can be directly converted into a FILETIME structure, query the Low64 member of the decVal member of the variant.

Value

Meaning

FsrmNeverModified

0x0000000000000000

The classifier has no internal policies that are ever updated.

FsrmAlwaysModified

0xFFFFFFFFFFFFFFFF

The classifier has internal policies affecting rules that always need to be re-evaluated on each classification run.

Any valid time stamp.

This is the case when neither of the two previous constants are returned.

Remarks

The last modified time is used by FSRM to determine whether rules using this classifier need to be run. If any classifier returns a time that is more recent than the time a file was last modified, FSRM will re-evaluate any applicable rules for that file.

A value corresponding to FsrmNeverModified can be returned if the classifier has no internal policies that are ever updated. An example of such a classifier is one that bases its classification decision on the attributes (such as path or owner) or content of a file.

A value corresponding to FsrmAlwaysModified can be returned if the classifier has internal policies that affect rules that always need to be reevaluated on each classification run. In this case, applicable rules for each file will always be evaluated. An example of such a classifier is one that bases its classification decision on a volatile set of policies that are outside the control of FSRM. A classifier that returns FsrmAlwaysModified will affect the performance of file classification because in such cases FSRM will skip optimizations that normally can avoid unnecessary rule reevaluations.

See Also

IFsrmClassifierModuleImplementation Interface
Microsoft.Storage Namespace

Return to top