ILease.SponsorshipTimeout 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 or sets the amount of time to wait for a sponsor to return with a lease renewal time.
public:
property TimeSpan SponsorshipTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan SponsorshipTimeout { get; set; }
public TimeSpan SponsorshipTimeout { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
member this.SponsorshipTimeout : TimeSpan with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.SponsorshipTimeout : TimeSpan with get, set
Public Property SponsorshipTimeout As TimeSpan
Property Value
The amount of time to wait for a sponsor to return with a lease renewal time.
- Attributes
Exceptions
The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.
Remarks
If the SponsorshipTimeout is TimeSpan.Zero, then this lease will not take sponsors.
If a sponsor does not respond to a call to renew a lease within the time-out period, it is assumed to be dead and is removed from the list of sponsors for the current lease.