Udostępnij za pośrednictwem


BlobClient.WithSnapshot(String) Method

Definition

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

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

public Azure.Storage.Blobs.BlobClient WithSnapshot (string snapshot);
override this.WithSnapshot : string -> Azure.Storage.Blobs.BlobClient
Public Function WithSnapshot (snapshot As String) As BlobClient

Parameters

snapshot
String

The snapshot identifier.

Returns

A new BlobClient instance.

Remarks

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

Applies to