IFsrmActionEventLog Interface

 

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

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

<GuidAttribute("4C8F96C3-5D94-4F37-A4F4-F56AB463546F")>
Public Interface IFsrmActionEventLog
	Inherits IFsrmAction

NameDescription
System_CAPS_pubpropertyActionType

Gets the ActionType property.

System_CAPS_pubpropertyEventType

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

This property is read/write.

System_CAPS_pubpropertyid

Gets the id property.

System_CAPS_pubpropertyMessageText

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

This property is read/write.

System_CAPS_pubpropertyRunLimitInterval

Gets and sets the RunLimitInterval property.

NameDescription
System_CAPS_pubmethodDelete()

Removes a Windows Application event from the event log for the 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:

  1. CreateNotificationAction

  2. CreateAction

  3. CreateThresholdAction

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

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.

Return to top

Community Additions

ADD
Show: