Share via


DefinitionDnsOptions.TimeToLiveInSeconds Property

Gets or sets the DNS Time-to-Live (TTL) that informs the Local DNS resolvers how long to cache DNS entries.

Namespace: Microsoft.WindowsAzure.Management.TrafficManager.Models
Assembly: Microsoft.WindowsAzure.Management.TrafficManager (in Microsoft.WindowsAzure.Management.TrafficManager.dll)

Usage

'Usage
Dim instance As DefinitionDnsOptions
Dim value As Integer

value = instance.TimeToLiveInSeconds

instance.TimeToLiveInSeconds = value

Syntax

'Declaration
Public Property TimeToLiveInSeconds As Integer
public int TimeToLiveInSeconds { get; set; }
public:
property int TimeToLiveInSeconds {
    int get ();
    void set (int value);
}
/** @property */
public int get_TimeToLiveInSeconds ()

/** @property */
public void set_TimeToLiveInSeconds (int value)
public function get TimeToLiveInSeconds () : int

public function set TimeToLiveInSeconds (value : int)

Property Value

The DNS TTL value.

Remarks

The value is an integer from 30 through 999,999.

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 Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

DefinitionDnsOptions Class
DefinitionDnsOptions Members
Microsoft.WindowsAzure.Management.TrafficManager.Models Namespace