CloudBlob.Delete Methode

Definition

Löscht das Blob.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual void Delete (Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption = Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption.None, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member Delete : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
override this.Delete : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Overridable Sub Delete (Optional deleteSnapshotsOption As DeleteSnapshotsOption = Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption.None, Optional accessCondition As AccessCondition = Nothing, Optional options As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)

Parameter

deleteSnapshotsOption
DeleteSnapshotsOption

Ein DeleteSnapshotsOption -Objekt, das angibt, ob nur das Blob gelöscht werden soll, ob das Blob und alle Momentaufnahmen gelöscht werden sollen oder ob nur die Momentaufnahmen gelöscht werden sollen.

accessCondition
AccessCondition

Ein AccessCondition-Objekt, das die Bedingung darstellt, die erfüllt werden muss, damit die Anforderung fortgesetzt werden kann. Wenn null, wird keine Bedingung verwendet.

options
BlobRequestOptions

Ein BlobRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt. Wenn null, werden standardoptionen auf die Anforderung angewendet.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

Attribute

Gilt für: