Windows Dev Center

IFsrmActionCommand::LogResult 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 a value that determines whether FSRM logs an Application event that contains the return code of the executable program.

This property is read/write.

Syntax


HRESULT put_LogResult(
  [in]  VARIANT_BOOL logResults
);

HRESULT get_LogResult(
  [out] VARIANT_BOOL *logResults
);

Property value

Set to VARIANT_TRUE if you want FSRM to log an Application event; otherwise, VARIANT_FALSE. The default is VARIANT_TRUE. The event identifier is 8226.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

The logResults parameter is NULL.

Remarks

For FSRM to log an event, the IFsrmActionCommand::MonitorCommand property must be set to VARIANT_TRUE.

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_IFsrmActionCommand is defined as 12937789-e247-4917-9c20-f3ee9c7ee783

See also

IFsrmActionCommand
MSFT_FSRMAction
MSFT_FSRMFMJAction
MSFT_FSRMFMJNotificationAction

 

 

Show:
© 2015 Microsoft