IFsrmActionEventLog interface (fsrm.h)

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

Inheritance

The IFsrmActionEventLog interface inherits from the IFsrmAction interface.

Methods

The IFsrmActionEventLog interface has these methods.

 
IFsrmActionEventLog::get_EventType

Retrieves or sets the type of event that the action logs when it runs. (Get)
IFsrmActionEventLog::get_MessageText

Retrieves or sets the event text that is logged when the action runs. (IFsrmActionEventLog.get_MessageText)
IFsrmActionEventLog::put_EventType

Retrieves or sets the type of event that the action logs when it runs. (Put)
IFsrmActionEventLog::put_MessageText

Retrieves or sets the event text that is logged when the action runs. (IFsrmActionEventLog.put_MessageText)

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

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header fsrm.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, FsrmScreen.h)

See also

FSRM Interfaces

IFsrmAction

IFsrmActionCommand

IFsrmActionEmail

IFsrmActionReport

MSFT_FSRMAction

MSFT_FSRMFMJAction

MSFT_FSRMFMJNotificationAction