QueryTimeout 属性

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

命名空间:  Microsoft.SqlServer.Management.Common
程序集:  Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)

语法

声明
Public Property QueryTimeout As Integer
    Get
    Set
用法
Dim instance As SqlOlapConnectionInfoBase
Dim value As Integer

value = instance.QueryTimeout

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

属性值

类型:System. . :: . .Int32
A Int32 value that specifies the query timeout period.