ILease.CurrentLeaseTime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the amount of time remaining on the lease.
public:
property TimeSpan CurrentLeaseTime { TimeSpan get(); };
public TimeSpan CurrentLeaseTime { get; }
public TimeSpan CurrentLeaseTime { [System.Security.SecurityCritical] get; }
member this.CurrentLeaseTime : TimeSpan
[<get: System.Security.SecurityCritical>]
member this.CurrentLeaseTime : TimeSpan
Public ReadOnly Property CurrentLeaseTime As TimeSpan
Property Value
The amount of time remaining on the lease.
- Attributes
Exceptions
The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.