Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Usage
Dim instance As DataConnection
Dim value As Integer
value = instance.ConnectionTimeout
instance.ConnectionTimeout = value
public abstract int ConnectionTimeout { get; set; }
public:
virtual property int ConnectionTimeout {
int get () abstract;
void set (int value) abstract;
}
public abstract function get ConnectionTimeout () : int
public 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.