IFsrmActionEventLog::EventType property

[This property 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.]

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

This property is read/write.

Syntax


HRESULT put_EventType(
  [in]   FsrmEventType eventType
);

HRESULT get_EventType(
  [out]  FsrmEventType *eventType
);

Property value

The type of event that the action logs when it runs. The default is FsrmEventType_Warning. For possible values, see the FsrmEventType enumeration.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

The eventType parameter is NULL or is not a valid event type.

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 FsrmQuota.h or FsrmScreen.h)

DLL

SrmSvc.dll

IID

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

See also

IFsrmActionEventLog
MSFT_FSRMAction
MSFT_FSRMFMJAction
MSFT_FSRMFMJNotificationAction

 

 

Show:
© 2014 Microsoft. All rights reserved.