IFsrmActionEventLog::MessageText 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 event text that is logged when the action runs.

This property is read/write.

Syntax


HRESULT put_MessageText(
  [in]   BSTR messageText
);

HRESULT get_MessageText(
  [out]  BSTR *messageText
);

Property value

The event text that is logged when the action runs. The string is limited to 4,000 characters.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

The messageText parameter is NULL or empty.

FSRM_E_OUT_OF_RANGE

The message is too long.

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