Share via


If.Ttl Property

Specifies the amount of time, after the time of registration, for which a referral statement remains valid.

Namespace: Microsoft.Web.Services3.Referral
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim if1 As If

Dim returnValue As Long
returnValue = if1.Ttl

Dim sampleValue As Long
if1.Ttl = sampleValue

Syntax

'Declaration
Public Property Ttl() As Long
public long Ttl {get; set;}
public:
property long long Ttl {
    long long get();
    void set(long long value);
}
public long get_Ttl();
public void set_Ttl(long);
public function get Ttl() : long;
public function set Ttl(long);

Property Value

The amount of time, in milliseconds.

Exceptions

Exception type Condition
ArgumentException

The amount of time specified is negative.

Remarks

A referral is considered stale if the value of the Ttl is exceeded. A stale referral statement must not be evaluated as satisfied if the Ttl is stale.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

If Class
If Members
Microsoft.Web.Services3.Referral Namespace