IFsrmQuotaManager::ActionVariables property

[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMQuota class.]

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.

S_OK

Success

E_INVALIDARG

The variables parameter is 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

FsrmQuota.h (include FsrmQuota.h or FsrmTlb.h)

DLL

SrmSvc.dll

CLSID

CLSID_FsrmQuotaManager is defined as 90dcab7f-347c-4bfc-b543-540326305fbe

IID

IID_IFsrmQuotaManager is defined as 8bb68c7d-19d8-4ffb-809e-be4fc1734014

IID_IFsrmQuotaManagerEx is defined as 4846cb01-d430-494f-abb4-b1054999fb09

See also

IFsrmQuotaManager
IFsrmQuotaManagerEx
FsrmQuotaManager
MSFT_FSRMQuota

 

 

Show: