Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

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

 
public static AccessCondition GenerateLeaseCondition(
	string leaseId
)
 
public:
static AccessCondition^ GenerateLeaseCondition(
	String^ leaseId
)
 
static member GenerateLeaseCondition : 
        leaseId:string -> AccessCondition
 
Public Shared Function GenerateLeaseCondition (
	leaseId As String
) As AccessCondition

Parameters

leaseId
Type: System.StringSystem::String^System.StringSystem.String

The lease ID to compare to the lease ID of the resource.

Return to top