AccessCondition.LeaseId Property

Windows Runtime Azure Storage Client Library

Gets or sets a lease ID that must match the lease on a resource.

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

Usage

Visual Basic
Dim instance As AccessCondition
Dim value As String

value = instance.LeaseId

instance.LeaseId = value

Syntax

Visual Basic
Public Property LeaseId As String
C#
public string LeaseId { get; set; }
C++
public:
property String^ LeaseId {
	String^ get ();
	void set (String^ value);
}
J#
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public String get_LeaseId ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_LeaseId (String value)
JScript
CompilerGeneratedAttribute 
public function get LeaseId () : String

CompilerGeneratedAttribute 
public function set LeaseId (value : String)

Property Value

A string containing a lease ID, or null if no condition exists.

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, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also