SALES: 1-800-867-1380
This topic has not yet been rated - Rate this topic

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

Updated: September 24, 2013

[This topic is part of the Windows Azure Storage Client Library 2.1. The current recommended version is Storage Client Library 3.0.]

Requests that the service start to copy a blob's contents, properties, and metadata to a new blob.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
'Usage
Dim instance As CloudPageBlob
Dim source As CloudPageBlob
Dim sourceAccessCondition As AccessCondition
Dim destAccessCondition As AccessCondition
Dim options As BlobRequestOptions
Dim operationContext As OperationContext
Dim returnValue As String

returnValue = instance.StartCopyFromBlob(source, sourceAccessCondition, destAccessCondition, options, operationContext)
[DoesServiceRequest] 
public string StartCopyFromBlob (
	CloudPageBlob source,
	[OptionalAttribute] AccessCondition sourceAccessCondition,
	[OptionalAttribute] AccessCondition destAccessCondition,
	[OptionalAttribute] BlobRequestOptions options,
	[OptionalAttribute] OperationContext operationContext
)

Parameters

source

The URI of a source blob.

sourceAccessCondition

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

destAccessCondition

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

options

A BlobRequestOptions object that specifies any additional options for the request.

operationContext

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

Return Value

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.


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

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.