IVsDataConnectionSupport.ConnectionTimeout Property
When implemented by a class, gets or sets the amount of time to wait when establishing a connection before terminating the attempt and generating a time-out error.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Property ConnectionTimeout As Integer
int ConnectionTimeout { get; set; }
property int ConnectionTimeout {
int get ();
void set (int value);
}
abstract ConnectionTimeout : int with get, set
function get ConnectionTimeout () : int
function set ConnectionTimeout (value : int)
Property Value
Type: System.Int32
An integer representation of the allowable time-out period.
Remarks
The default value depends on the data provider. A value of zero indicates that there is no time-out, meaning the data provider will wait indefinitely, or until something other than the data provider causes it to time out, like a TCP/IP time-out. The value -1 indicates that time-outs are not supported by the provider.
Note
If the provider does not support time-outs, a NotSupportedException is thrown if you try to set one.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataConnectionSupport Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace