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)

Syntax

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

Parameters

  • 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.

Platforms

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

See Also

Reference

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