CloudBlockBlob.EndAcquireLease Method

Ends an asynchronous operation to acquire a lease on this blob.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)


Public Function EndAcquireLease ( _
    asyncResult As IAsyncResult _
) As String
public string EndAcquireLease (
    IAsyncResult asyncResult
virtual String^ EndAcquireLease (
    IAsyncResult^ asyncResult
) sealed


  • asyncResult
    An IAsyncResult that references the pending asynchronous operation.

Return Value

A string containing the ID of the acquired lease.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

See Also


CloudBlockBlob Class
CloudBlockBlob Members
Microsoft.WindowsAzure.Storage.Blob Namespace