Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudPageBlob.GetPageRangesDiff 方法

定义

获取指定快照和此 对象之间不同的页范围的集合。

[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)

参数

previousSnapshotTime
DateTimeOffset

一个 DateTimeOffset ,表示用作差异起点的快照时间戳。 如果此 CloudPageBlob 表示快照,则 previousSnapshotTime 参数必须早于当前快照时间戳。

offset
Nullable<Int64>

要根据其列出页面范围的数据范围的起始偏移量(以字节为单位)。 必须是 512 的倍数。

length
Nullable<Int64>

要根据其列出页面范围的数据范围的长度(以字节为单位)。 必须是 512 的倍数。

accessCondition
AccessCondition

一个 AccessCondition 对象,表示继续处理请求而必须满足的条件。 如果为 null,则不使用任何条件。

options
BlobRequestOptions

一个 BlobRequestOptions 对象,它指定请求的其他选项。 如果 null为 ,则默认选项应用于请求。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

返回

页范围的可枚举集合。

属性

适用于