Click or drag to resize
PMGroupOUBalanceIncrementBalance Method (Boolean, NullableDouble, NullableInt32)
Increases the current balance amount. The UsePages value will determine whether currency or pages value is used.

Namespace: PM90SettingsAPI
Assembly: PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntax
C#
public void IncrementBalance(
	bool applyToCurrentMembers,
	Nullable<double> currency = null,
	Nullable<int> pages = null
)

Parameters

applyToCurrentMembers
Type: SystemBoolean
Set to true to incremement not only the starting balance for the group, but the current balance of every member
currency (Optional)
Type: SystemNullableDouble
Value to increase balance by when it is currency.
pages (Optional)
Type: SystemNullableInt32
Value to increase balance by when it is pages.
Exceptions
ExceptionCondition
ArgumentExceptionNeeded parameter is null or zero
PMDatabaseExceptionRepresents an database connection or syntax error that has occurred when processing an API request
PMExceptionUnexcpected exception has occurred, check inner exception
Remarks

Applying to current members will change all user members who have this Group or OU set as their quota source. See Primary Group and Default Quota source.

Value can be negative and used to deduct balance.

See Also