ICloudBlob.BreakLease Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Unterbricht die aktuelle Lease für dieses Blob.
public TimeSpan BreakLease (TimeSpan? breakPeriod = default, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
abstract member BreakLease : Nullable<TimeSpan> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> TimeSpan
Public Function BreakLease (Optional breakPeriod As Nullable(Of TimeSpan) = Nothing, Optional accessCondition As AccessCondition = Nothing, Optional options As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As TimeSpan
Parameter
Eine TimeSpan, die die zulässige Zeit für die Leasedauer darstellt und auf Sekunden abgerundet wird.
- accessCondition
- AccessCondition
Ein AccessCondition-Objekt, das die Bedingung darstellt, die erfüllt werden muss, damit die Anforderung fortgesetzt werden kann.
- 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.
Gibt zurück
Eine TimeSpan, die auf die Sekunde die Zeit darstellt, bis die Lease endet.
Gilt für:
Azure SDK for .NET