Requests a sponsoring client to renew the lease for the specified object.
[Visual Basic] Function Renewal( _ ByVal lease As ILease _ ) As TimeSpan [C#] TimeSpan Renewal( ILease lease ); [C++] TimeSpan Renewal( ILease* lease ); [JScript] function Renewal( lease : ILease ) : TimeSpan;
- The lifetime lease of the object that requires lease renewal.
The additional lease time for the specified object.
|SecurityException||The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.|
The Renewal method is called by the distributed garbage collector to renew the lease for the specified object.
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:
- SecurityPermission for operating with infrastructure code. Demand value: SecurityAction.LinkDemand; Permission value: SecurityPermissionFlag.Infrastructure