CloudBlobContainer.GetPageBlobReference Method (String, Nullable)

Windows Runtime Azure Storage Client Library

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

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As CloudBlobContainer
Dim blobName As String
Dim snapshotTime As Nullable(Of DateTimeOffset)
Dim returnValue As CloudPageBlob

returnValue = instance.GetPageBlobReference(blobName, snapshotTime)

Syntax

Visual Basic
Public Function GetPageBlobReference ( _
	blobName As String, _
	snapshotTime As Nullable(Of DateTimeOffset) _
) As CloudPageBlob
C#
public CloudPageBlob GetPageBlobReference (
	string blobName,
	Nullable<DateTimeOffset> snapshotTime
)
C++
public:
CloudPageBlob^ GetPageBlobReference (
	String^ blobName, 
	Nullable<DateTimeOffset> snapshotTime
)
J#
public CloudPageBlob GetPageBlobReference (
	String blobName, 
	Nullable<DateTimeOffset> snapshotTime
)
JScript
public function GetPageBlobReference (
	blobName : String, 
	snapshotTime : Nullable<DateTimeOffset>
) : CloudPageBlob

Parameters

blobName

A string containing the name of the page blob.

snapshotTime

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

Return Value

A CloudPageBlob object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also