Windows Dev Center

IFsrmActionEventLog interface

[This interface is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMAction, MSFT_FSRMFMJAction, and MSFT_FSRMFMJNotificationAction classes.]

Used to log an event to the Windows Application event log in response to a quota, file screen, or file management job event.

To create an event log action, call one of the following methods and specify FsrmActionType_EventLog as the action type:

The create methods return an IFsrmAction interface. To get this interface, call the QueryInterface method and specify IID_IFsrmActionEventLog as the interface identifier.

Members

The IFsrmActionEventLog interface inherits from IFsrmAction. IFsrmActionEventLog also has these types of members:

Properties

The IFsrmActionEventLog interface has these properties.

PropertyAccess typeDescription

EventType

Read/write

Retrieves or sets the type of event that the action logs when it runs.

MessageText

Read/write

Retrieves or sets the event text that is logged when the action runs.

 

Remarks

For most events, the event identifier is 12325. However, for events that a file management job logs, the event identifier is 8244.

You must set the MessageText property; the other property is optional.

Examples

For an example, see Using Templates to Define Quotas.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Fsrm.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmActionEventLog is defined as 4c8f96c3-5d94-4f37-a4f4-f56ab463546f

See also

FSRM Interfaces
IFsrmAction
IFsrmActionCommand
IFsrmActionEmail
IFsrmActionReport
MSFT_FSRMAction
MSFT_FSRMFMJAction
MSFT_FSRMFMJNotificationAction

 

 

Show:
© 2015 Microsoft