BlockBlobClient.WithVersion(String) Method

Definition

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

public Azure.Storage.Blobs.Specialized.BlockBlobClient WithVersion (string versionId);
override this.WithVersion : string -> Azure.Storage.Blobs.Specialized.BlockBlobClient
Public Function WithVersion (versionId As String) As BlockBlobClient

Parameters

versionId
String

The version identifier.

Returns

BlockBlobClient

A new BlockBlobClient instance.

Remarks

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

to the base blob.

Applies to