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

BlobBaseClient.WithSnapshot(String) Method

Definition

Initializes a new instance of the BlobBaseClient class with an identical Uri source but the specified snapshot timestamp.

For more information, see Create a snapshot of a blob.

public virtual Azure.Storage.Blobs.Specialized.BlobBaseClient WithSnapshot(string snapshot);
abstract member WithSnapshot : string -> Azure.Storage.Blobs.Specialized.BlobBaseClient
override this.WithSnapshot : string -> Azure.Storage.Blobs.Specialized.BlobBaseClient
Public Overridable Function WithSnapshot (snapshot As String) As BlobBaseClient

Parameters

snapshot
String

The snapshot identifier.

Returns

A new BlobBaseClient instance.

Remarks

Pass null or empty string to remove the snapshot returning a URL to the base blob.

Applies to