NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Lease.Renew

Renew the lease for the specified time.

[Visual Basic]
Overridable Public Function Renew( _
   ByVal renewalTime As TimeSpan _
) As TimeSpan
[C#]
public virtual TimeSpan Renew(
   TimeSpan renewalTime
);
[C++]
public: virtual TimeSpan Renew(
   TimeSpan renewalTime
);
[JScript]
public function Renew(
   renewalTime : TimeSpan
) : TimeSpan;

Parameters

renewalTime
The new lease time

Return Value

The leases expiration time is returned to the caller

See Also

Lease Class | Lease Members | System.Runtime.Remoting Namespace