DataConnection.ConnectionTimeout Property
Retrieves or sets the amount of time, in seconds, before a command to open a connection times out.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public MustOverride Property ConnectionTimeout As Integer
Get
Set
public abstract int ConnectionTimeout { get; set; }
public:
virtual property int ConnectionTimeout {
int get () abstract;
void set (int value) abstract;
}
abstract ConnectionTimeout : int with get, set
abstract function get ConnectionTimeout () : int
abstract function set ConnectionTimeout (value : int)
Property Value
Type: System.Int32
Returns an integer value specifying the amount of time, in seconds, until a command to open a connection times out.
Remarks
All DDEX providers must provide the ability to retrieve a connection timeout; however, providing the ability to set the timeout is optional. Thus, clients must be prepared for a NotImplementedException to be thrown when attempting to set the timeout.
.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.