AccessCondition.GenerateLeaseCondition Method (String) (Microsoft.WindowsAzure.Storage)
From Microsoft.WindowsAzure.Storage.Queue
C#
C++
F#
VB
Constructs an access condition such that an operation will be performed only if the lease ID on the
resource matches the specified lease ID.
Namespace:
Microsoft.WindowsAzure.Storage
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
Parameters
- leaseId
-
Type:
System.StringSystem::String^System.StringSystem.String
The lease ID to compare to the lease ID of the resource.
Return Value
Type:
Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage::AccessCondition^Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage.AccessConditionAn AccessCondition object that represents the lease condition.
Return to top
Constructs an access condition such that an operation will be performed only if the lease ID on the resource matches the specified lease ID.
Syntax
Parameters
- leaseId
-
Type:
System.StringSystem::String^System.StringSystem.String
The lease ID to compare to the lease ID of the resource.
Return Value
Type: Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage::AccessCondition^Microsoft.WindowsAzure.Storage.AccessConditionMicrosoft.WindowsAzure.Storage.AccessConditionAn AccessCondition object that represents the lease condition.