IFsrmFileScreenManager::ActionVariables property

Retrieves a list of macros that you can specify in action property values.

This property is read-only.

Syntax


HRESULT get_ActionVariables(
  [out]  SAFEARRAY(VARIANT) *variables
);

Property value

A SAFEARRAY of variants that contain the available macros. The variant type is VT_BSTR. Use the bstrVal member to access the name.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_INVALIDARG

The variables parameter cannot be NULL.

Remarks

FSRM parses the action property for the macros and substitutes the macro string with the values that are specific to the event and computer on which the action occurred. For example, the following shows how you can format the message text for email: "User [Source Io Owner] has reached the quota limit for quota on [Quota Path] on server [Server]. The quota limit is [Quota Limit MB] MB and the current usage is [Quota Used MB] MB ([Quota Used Percent]% of limit)."

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmScreen.h

DLL

SrmSvc.dll

IID

IID_IFsrmFileScreenManager is defined as ff4fa04e-5a94-4bda-a3a0-d5b4d3c52eba

See also

IFsrmFileScreenManager
FsrmFileScreenManager

 

 

Show:
© 2014 Microsoft