CreateThreshold method of the MSFT_FSRMQuotaThreshold class

Creates a MSFT_FSRMQuotaThreshold instance representing a new quota threshold object.

Syntax

uint64 CreateThreshold(
  [in]  uint32                  Percentage,
  [in]  MSFT_FSRMAction         Action[],
  [out] MSFT_FSRMQuotaThreshold QuotaThreshold
);

Parameters

Percentage [in]

A positive number up to 100.

Action [in]

An array of instances of the MSFT_FSRMAction class representing action types. Only one notification per type is allowed.

QuotaThreshold [out]

Returns a MSFT_FSRMQuotaThreshold instance representing a new quota threshold object.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\FSRM
MOF
MSFT_FSRM.mof
DLL
SrmSvc.dll

See also

MSFT_FSRMQuotaThreshold

MSFT_FSRMAction