CloudPageBlob.Resize Method (Int64, AccessCondition, BlobRequestOptions, OperationContext)

 

Updated: August 4, 2016

Resizes the page blob to the specified size.

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

[DoesServiceRequestAttribute]
public virtual void Resize(
	long size,
	AccessCondition accessCondition = null,
	BlobRequestOptions options = null,
	OperationContext operationContext = null
)

Parameters

size
Type: System.Int64

The size of the page blob, in bytes.

accessCondition
Type: Microsoft.WindowsAzure.Storage.AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
Type: Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
Type: Microsoft.WindowsAzure.Storage.OperationContext

An OperationContext object that represents the context for the current operation.

Return to top
Show: