CloudBlob.Snapshot(IDictionary<String,String>, AccessCondition, BlobRequestOptions, OperationContext) CloudBlob.Snapshot(IDictionary<String,String>, AccessCondition, BlobRequestOptions, OperationContext) Method

Definition

Creates a snapshot of the blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.Blob.CloudBlob Snapshot (System.Collections.Generic.IDictionary<string,string> metadata = null, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition = null, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options = null, Microsoft.WindowsAzure.Storage.OperationContext operationContext = null);
abstract member Snapshot : System.Collections.Generic.IDictionary<string, string> * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> Microsoft.WindowsAzure.Storage.Blob.CloudBlob
override this.Snapshot : System.Collections.Generic.IDictionary<string, string> * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> Microsoft.WindowsAzure.Storage.Blob.CloudBlob
Parameters
metadata
IDictionary<String,String>

A collection of name-value pairs defining the metadata of the snapshot.

accessCondition
AccessCondition 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
BlobRequestOptions BlobRequestOptions

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

operationContext
OperationContext OperationContext

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

Returns

A CloudBlob object that is a blob snapshot.

Applies to