CloudBlobContainer.GetPageBlobReference Method

Definition

Overloads

GetPageBlobReference(String)

Gets a reference to a page blob in this container.

GetPageBlobReference(String, Nullable<DateTimeOffset>)

Returns a reference to a page blob in this virtual directory.

GetPageBlobReference(String)

Gets a reference to a page blob in this container.

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

Parameters

blobName
String

A string containing the name of the page blob.

Returns

A CloudPageBlob object.

Applies to

GetPageBlobReference(String, Nullable<DateTimeOffset>)

Returns a reference to a page blob in this virtual directory.

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

Parameters

blobName
String

A string containing the name of the page blob.

snapshotTime
Nullable<DateTimeOffset>

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

Returns

A CloudPageBlob object.

Applies to