CloudBlobContainer.getPageBlobReference Method

Definition

Overloads

getPageBlobReference(final String blobName)

Returns a reference to a CloudPageBlob object that represents a page blob in this container.

getPageBlobReference(final String blobName, final String snapshotID)

Returns a reference to a CloudPageBlob object that represents a page blob in the container, using the specified snapshot ID.

getPageBlobReference(final String blobName)

Returns a reference to a CloudPageBlob object that represents a page blob in this container.

public CloudPageBlob getPageBlobReference(final String blobName)
Parameters
blobName
final String

A String that represents the name of the blob.

Returns

A CloudPageBlob object that represents a reference to the specified page blob.

Exceptions

If a storage service error occurred.

URISyntaxException

If the resource URI is invalid.

getPageBlobReference(final String blobName, final String snapshotID)

Returns a reference to a CloudPageBlob object that represents a page blob in the container, using the specified snapshot ID.

public CloudPageBlob getPageBlobReference(final String blobName, final String snapshotID)
Parameters
blobName
final String

A String that represents the name of the blob.

snapshotID
final String

A String that represents the snapshot ID of the blob.

Returns

A CloudPageBlob object that represents a reference to the specified page blob.

Exceptions

If a storage service error occurred.

URISyntaxException

If the resource URI is invalid.

Applies to