CloudPageBlob.GetPageRanges Method (Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext)

 

Updated: February 24, 2017

Gets a collection of valid page ranges and their starting and ending bytes.

Namespace:   Microsoft.WindowsAzure.Storage.Blob
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

[DoesServiceRequestAttribute]
public virtual IEnumerable<PageRange> GetPageRanges(
	Nullable<long> offset = null,
	Nullable<long> length = null,
	AccessCondition accessCondition = null,
	BlobRequestOptions options = null,
	OperationContext operationContext = null
)

Parameters

offset
Type: System.Nullable<Int64>

The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512.

length
Type: System.Nullable<Int64>

The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512.

accessCondition
Type: Microsoft.WindowsAzure.Storage.AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
Type: Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
Type: Microsoft.WindowsAzure.Storage.OperationContext

An OperationContext object that represents the context for the current operation.

Return Value

Type: System.Collections.Generic.IEnumerable<PageRange>

An enumerable collection of page ranges.

Return to top
Show: