CloudBlockBlob.StartCopyFromBlob Method (CloudBlockBlob, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext)
Note: This API is now obsolete.
Begins 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)
Syntax
[ObsoleteAttribute("Deprecated this method in favor of StartCopy.")]
[DoesServiceRequestAttribute]
public string StartCopyFromBlob(
CloudBlockBlob source,
AccessCondition sourceAccessCondition = null,
AccessCondition destAccessCondition = null,
BlobRequestOptions options = null,
OperationContext operationContext = null
)
<ObsoleteAttribute("Deprecated this method in favor of StartCopy.")>
<DoesServiceRequestAttribute>
Public Function StartCopyFromBlob (
source As CloudBlockBlob,
sourceAccessCondition As AccessCondition,
destAccessCondition As AccessCondition,
options As BlobRequestOptions,
operationContext As OperationContext
) As String
Parameters
source
Type: Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlobThe Uri of the source blob.
sourceAccessCondition
Type: Microsoft.WindowsAzure.Storage.AccessConditionAn AccessCondition object that represents the access conditions for the source blob. If null, no condition is used.
destAccessCondition
Type: Microsoft.WindowsAzure.Storage.AccessConditionAn AccessCondition object that represents the access conditions for the destination blob. If null, no condition is used.
options
Type: Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptionsA BlobRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.
operationContext
Type: Microsoft.WindowsAzure.Storage.OperationContextAn OperationContext object that represents the context for the current operation.
Return Value
Type: System.String
The copy ID associated with the copy operation.
Remarks
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.
See Also
StartCopyFromBlob Overload
CloudBlockBlob Class
Microsoft.WindowsAzure.Storage.Blob Namespace
Return to top