Skip to content

SqlSettings.DefaultCommandTimeout property

Gets or sets the default command timeout. Returns the local timeout if any is set through SetLocalCommandTimeout, otherwise the default timeout. The local timeout should be used for unit tests.

public static int? DefaultCommandTimeout { get; set; }

Property Value

The default command timeout.

See Also