Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
[GuidAttribute("4C8F96C3-5D94-4F37-A4F4-F56AB463546F")]
public interface IFsrmActionEventLog : IFsrmAction
[GuidAttribute("4C8F96C3-5D94-4F37-A4F4-F56AB463546F")]
public interface class IFsrmActionEventLog : IFsrmAction
[<GuidAttribute("4C8F96C3-5D94-4F37-A4F4-F56AB463546F")>]
type IFsrmActionEventLog =
interface
interface IFsrmAction
end
<GuidAttribute("4C8F96C3-5D94-4F37-A4F4-F56AB463546F")>
Public Interface IFsrmActionEventLog
Inherits IFsrmAction
Properties
| Name | Description | |
|---|---|---|
![]() |
ActionType | Gets the ActionType property. |
![]() |
EventType | Retrieves or sets the type of event that the action logs when it runs. This property is read/write. |
![]() |
id | Gets the id property. |
![]() |
MessageText | Retrieves or sets the event text that is logged when the action runs. This property is read/write. |
![]() |
RunLimitInterval | Gets and sets the RunLimitInterval property. |
Methods
| Name | Description | |
|---|---|---|
![]() |
Delete() | Removes a Windows Application event from the event log for the quota, file screen, or file management job event. |
Remarks
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.
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.
See Also
IFsrmAction
IFsrmActionCommand
IFsrmActionEmail
IFsrmActionReport
Microsoft.Storage Namespace
Return to top
.jpeg)
.jpeg)