Sdílet prostřednictvím


CloudBlobDirectory.GetPageBlobReference Method

Definition

Overloads

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 virtual directory.

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

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

GetPageBlobReference(String)

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

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 blob.

Returns

A CloudPageBlob object.

Applies to