IPWorks Cloud 2020 iOS Edition

Questions / Feedback?

clearPages (method)

Clears a range of pages in a page blob.

Syntax

- (void)clearPages:(NSString*)pageBlob :(long long)byteOffset :(long long)pageCount;
public func clearPages(_ pageBlob: String, _ byteOffset: Int64, _ pageCount: Int64) throws -> Void

Remarks

This method clears PageCount pages, from ByteOffset onwards, for the specified PageBlob in the container currently selected by Container.

ByteOffset must be a multiple of 512; i.e. ByteOffset % 512 == 0. PageCount must be a number between 1 and the number of pages in the page blob following ByteOffset (inclusive).

If the specified blob has an active lease, its lease Id must be specified using LeaseId, or the request will fail.

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