SqlOlapConnectionInfoBase.ConnectionTimeout 属性
获取或设置连接超时之前等待的秒数。
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Property ConnectionTimeout As Integer
Get
Set
用法
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)
属性值
类型:Int32
一个 Int32 值,该值指定连接超时期。