Sdílet prostřednictvím


BlobDeleteBatchOperation.AddSubOperation Method

Definition

Adds an operation to be submitted as part of the batch.

public void AddSubOperation (Microsoft.Azure.Storage.Blob.CloudBlob blob, Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption = Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption.None, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.Blob.BlobRequestOptions blobRequestOptions = default);
member this.AddSubOperation : Microsoft.Azure.Storage.Blob.CloudBlob * Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions -> unit
Public Sub AddSubOperation (blob As CloudBlob, Optional deleteSnapshotsOption As DeleteSnapshotsOption = Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption.None, Optional accessCondition As AccessCondition = Nothing, Optional blobRequestOptions As BlobRequestOptions = Nothing)

Parameters

blob
CloudBlob

The CloudBlob to be deleted.

deleteSnapshotsOption
DeleteSnapshotsOption

A DeleteSnapshotsOption object indicating whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots.

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.

blobRequestOptions
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

Applies to