Lake Lease Client. Release(RequestConditions, CancellationToken) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Release(RequestConditions, CancellationToken) operation releases the file system or path's previously-acquired lease.
The lease may be released if the LeaseId matches that associated with the file system or path. Releasing the lease allows another client to immediately acquire the lease for the file system or path as soon as the release is complete.
For more information, see Lease Container.
public virtual Azure.Response<Azure.Storage.Files.DataLake.Models.ReleasedObjectInfo> Release (Azure.RequestConditions conditions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Release : Azure.RequestConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.Models.ReleasedObjectInfo> override this.Release : Azure.RequestConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Files.DataLake.Models.ReleasedObjectInfo>
Public Overridable Function Release (Optional conditions As RequestConditions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ReleasedObjectInfo)
Optional System.Threading.CancellationToken to propagate notifications that the operation should be cancelled.
A Response<T> describing the updated path or file system.
A RequestFailedException will be thrown if a failure occurs.