Share via


SqlOlapConnectionInfoBase.ConnectionTimeout Property

Gets or sets the number of seconds before a connection times out.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Property ConnectionTimeout As Integer 
    Get 
    Set
'Usage
Dim instance As SqlOlapConnectionInfoBase 
Dim value As Integer 

value = instance.ConnectionTimeout

instance.ConnectionTimeout = value
public int ConnectionTimeout { get; set; }
public:
property int ConnectionTimeout {
    int get ();
    void set (int value);
}
member ConnectionTimeout : int with get, set
function get ConnectionTimeout () : int 
function set ConnectionTimeout (value : int)

Property Value

Type: System.Int32
A Int32 value that specifies the connection timeout period.

See Also

Reference

SqlOlapConnectionInfoBase Class

Microsoft.SqlServer.Management.Common Namespace