Export (0) Print
Expand All

ILease.CurrentState Property

Gets the current LeaseState of the lease.

[Visual Basic]
ReadOnly Property CurrentState As LeaseState
[C#]
LeaseState CurrentState {get;}
[C++]
__property LeaseState get_CurrentState();
[JScript]
function get CurrentState() : LeaseState;

Property Value

The current LeaseState of the lease.

Exceptions

Exception Type Condition
SecurityException The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

ILease Interface | ILease Members | System.Runtime.Remoting.Lifetime Namespace | LeaseState

Show:
© 2014 Microsoft