다음을 통해 공유


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.