IFsrmClassifierModuleImplementation::LastModified property

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

This property is read-only.

Syntax


HRESULT get_LastModified(
  [out]  VARIANT *pLastModified
);

Property value

Pointer to a VARIANT 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.

ValueMeaning
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.

 

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

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.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

DLL

SrmSvc.dll

IID

IID_IFsrmClassifierModuleImplementation is defined as 4c968fc6-6edb-4051-9c18-73b7291ae106

See also

IFsrmClassifierModuleImplementation

 

 

Show:
© 2014 Microsoft