ILease.InitialLeaseTime Property
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 or sets the initial time for the lease.
public:
property TimeSpan InitialLeaseTime { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan InitialLeaseTime { get; set; }
public TimeSpan InitialLeaseTime { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
member this.InitialLeaseTime : TimeSpan with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.InitialLeaseTime : TimeSpan with get, set
Public Property InitialLeaseTime As TimeSpan
The initial time for the lease.
- Attributes
The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.
If the InitialLeaseTime property is set to TimeSpan.Zero, then the lease will never time out and the object associated with it will have an infinite lifetime.
Производ | Верзије |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: