Redigera

Dela via


ILease.CurrentLeaseTime Property

Definition

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