IFsrmFileManagementJob::Logging property

[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMFileManagementJob class.]

The types of logging to perform.

This property is read/write.

Syntax


HRESULT put_Logging(
  [in]  long loggingFlags
);

HRESULT get_Logging(
  [out] long *pLoggingFlags
);

Property value

The types of logging to perform. For possible values, see the FsrmFileManagementLoggingFlags enumeration. The default is FsrmFileManagementLoggingFlags_None.

Error codes

The method returns the following return values.

S_OK

Success

E_INVALIDARG

Remarks

The log files are stored in the reports directory. The name of the FsrmFileManagementLoggingFlags_ClassificationsInLogFile log file is "FileManagement-FsrmServerName(FQDN)-FileManagementJobName-NotificationPeriod-TimeStamp.xml". The log file contains one entry for each file processed. Each log entry specifies the following items:

  • File name (full path)
  • Owner
  • Command type
  • Command parameters
  • Error value

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

Header

FsrmReports.h

DLL

SrmSvc.dll

IID

IID_IFsrmFileManagementJob is defined as 0770687e-9f36-4d6f-8778-599d188461c9

See also

IFsrmFileManagementJob
MSFT_FSRMFileManagementJob

 

 

Show: