Export (0) Print
Expand All

ILease.CurrentState Property

Gets the current LeaseState of the lease.

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

Property Value

The current LeaseState of the lease.


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


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

© 2015 Microsoft