Share via


CloudBlobDirectory.GetBlockBlobReference Method

Definition

Overloads

GetBlockBlobReference(String)

Gets a reference to a block blob in this virtual directory.

GetBlockBlobReference(String, Nullable<DateTimeOffset>)

Gets a reference to a block blob in this virtual directory.

GetBlockBlobReference(String)

Gets a reference to a block blob in this virtual directory.

public virtual Microsoft.Azure.Storage.Blob.CloudBlockBlob GetBlockBlobReference (string blobName);
abstract member GetBlockBlobReference : string -> Microsoft.Azure.Storage.Blob.CloudBlockBlob
override this.GetBlockBlobReference : string -> Microsoft.Azure.Storage.Blob.CloudBlockBlob
Public Overridable Function GetBlockBlobReference (blobName As String) As CloudBlockBlob

Parameters

blobName
String

A string containing the name of the blob.

Returns

A CloudBlockBlob object.

Applies to

GetBlockBlobReference(String, Nullable<DateTimeOffset>)

Gets a reference to a block blob in this virtual directory.

public virtual Microsoft.Azure.Storage.Blob.CloudBlockBlob GetBlockBlobReference (string blobName, DateTimeOffset? snapshotTime);
abstract member GetBlockBlobReference : string * Nullable<DateTimeOffset> -> Microsoft.Azure.Storage.Blob.CloudBlockBlob
override this.GetBlockBlobReference : string * Nullable<DateTimeOffset> -> Microsoft.Azure.Storage.Blob.CloudBlockBlob
Public Overridable Function GetBlockBlobReference (blobName As String, snapshotTime As Nullable(Of DateTimeOffset)) As CloudBlockBlob

Parameters

blobName
String

A string containing the name of the blob.

snapshotTime
Nullable<DateTimeOffset>

A DateTimeOffset specifying the snapshot timestamp, if the blob is a snapshot.

Returns

A CloudBlockBlob object.

Applies to