Exportar (0) Imprimir
Expandir Tudo
EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

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

Updated: May 15, 2014

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

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

[DoesServiceRequestAttribute] 
public string StartCopyFromBlob (
	CloudBlockBlob source,
	[OptionalAttribute] AccessCondition sourceAccessCondition,
	[OptionalAttribute] AccessCondition destAccessCondition,
	[OptionalAttribute] BlobRequestOptions options,
	[OptionalAttribute] OperationContext operationContext
)

Parameters

source

The Uri of the source blob.

sourceAccessCondition

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

destAccessCondition

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

options

A BlobRequestOptions object that specifies additional options for the request. If null, default options are applied to 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

 

Mostrar:
© 2014 Microsoft