다음을 통해 공유


CloudPageBlob.GetPageRangesDiff Method

Definition

Gets the collection of page ranges that differ between a specified snapshot and this object.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageDiffRange> GetPageRangesDiff (DateTimeOffset previousSnapshotTime, long? offset = default, long? length = default, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesDiff : DateTimeOffset * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> seq<Microsoft.Azure.Storage.Blob.PageDiffRange>
override this.GetPageRangesDiff : DateTimeOffset * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> seq<Microsoft.Azure.Storage.Blob.PageDiffRange>
Public Overridable Function GetPageRangesDiff (previousSnapshotTime As DateTimeOffset, Optional offset As Nullable(Of Long) = Nothing, Optional length As Nullable(Of Long) = Nothing, Optional accessCondition As AccessCondition = Nothing, Optional options As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As IEnumerable(Of PageDiffRange)

Parameters

previousSnapshotTime
DateTimeOffset

A DateTimeOffset representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp.

offset
Nullable<Int64>

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

length
Nullable<Int64>

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

accessCondition
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
BlobRequestOptions

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

operationContext
OperationContext

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

Returns

An enumerable collection of page ranges.

Attributes

Applies to