CloudPageBlob.StartCopyFromBlob Method (CloudPageBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)

 
Note: This API is now obsolete.

Begins an operation to start copying another page blob's contents, properties, and metadata to this page blob.

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

<DoesServiceRequestAttribute>
<ObsoleteAttribute("Deprecated this method in favor of StartCopy.")>
Public Function StartCopyFromBlob (
	source As CloudPageBlob,
	sourceAccessCondition As AccessCondition,
	destAccessCondition As AccessCondition,
	options As BlobRequestOptions,
	operationContext As OperationContext
) As String

Parameters

source
Type: Microsoft.WindowsAzure.Storage.Blob.CloudPageBlob

The Uri of the source blob.

sourceAccessCondition
Type: Microsoft.WindowsAzure.Storage.AccessCondition

An AccessCondition object that represents the access conditions for the source blob. If null, no condition is used.

destAccessCondition
Type: Microsoft.WindowsAzure.Storage.AccessCondition

An AccessCondition object that represents the access conditions for the destination blob. 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 Value

Type: System.String

The copy ID associated with the copy operation.

This method fetches the blob's ETag, last-modified time, and part of the copy state. The copy ID and copy status fields are fetched, and the rest of the copy state is cleared.

Return to top
Show: