IPWorks Cloud 2020 macOS Edition

Questions / Feedback?

SetShareQuota Method

Sets a share's space quota.

Syntax

public func setShareQuota(quota: Int32) throws -> Void

Remarks

This method sets the size, in GB, of the space quota imposed on the share currently selected by the Share property. Quota must be greater than 0.

It is legal to lower a share's quota to a value less than its current space usage. However, doing so will prevent new space from being allocated until either the space usage falls below quota or the quota is raised above the space usage.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 macOS Edition - Version 20.0 [Build 8265]