Share via


AgentCore.QueryTimeout Property

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Property QueryTimeout As Integer 
    Get 
    Set
'Usage
Dim instance As AgentCore 
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)

Property Value

Type: System.Int32
The number of seconds before a query times out.

Remarks

The default value for QueryTimeout is 1800 seconds.

See Also

Reference

AgentCore Class

Microsoft.SqlServer.Replication Namespace