Gets or sets the amount of time in milliseconds to wait for a response from a DNS server.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property DnsServerTimeout As Integer |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As Smtp
Dim value As Integer
instance.DnsServerTimeout = value
value = instance.DnsServerTimeout |
| C# | |
|---|
public int DnsServerTimeout {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property int get_DnsServerTimeout();
public: __property void set_DnsServerTimeout(
int value
); |
| C++/CLI | |
|---|
public:
property int DnsServerTimeout {
int get();
void set ( int value);
} |
Property Value
An integer specifying the maximum number of milliseconds to wait for responses to DNS requests. Defaults to 3000.
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also