[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]
The lease status of the blob. Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
The lease status of the blob. Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
Usage
| Visual Basic |
|---|
Dim instance As LeaseStatus |
Syntax
| Visual Basic |
|---|
Public Enumeration LeaseStatus |
| C# |
|---|
public enum LeaseStatus |
| C++ |
|---|
public enum class LeaseStatus |
| J# |
|---|
| JScript |
|---|
Members
| Member name | Description |
|---|---|
| Locked | The blob is locked for exclusive-write access. |
| Unlocked | The blob is available to be locked for exclusive write access. |
| Unspecified | The lease status is not specified. |
Remarks
You can check the lease status of a blob to determine whether it currently has an active lease and so is locked for exclusive write access, or whether it is available for write access. To manage a blob's lease, use the Lease method of the BlobRequestclass.