SqlServerDataSourceSettings Properties
The SqlServerDataSourceSettings type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
ArithAbort |
Terminates a query when an overflow or divide-by-zero error occurs during query execution.
|
![]() |
DefaultCommandTimeout |
Gets or sets the default command timeout.
(Inherited from DataSourceSettings.) |
![]() |
DefaultNVarCharLength |
Gets or sets the default length of nVarChar string parameters. This is used when the query builder cannot determine the best parameter type and the parameter's actual length is smaller than the default length.
|
![]() |
DefaultStringType |
Gets or sets the default type of string parameters. This is used when the query builder cannot determine the best parameter type.
|
![]() |
DefaultVarCharLength |
Gets or sets the default length of varChar string parameters. This is used when the query builder cannot determine the best parameter type and the parameter's actual length is smaller than the default length.
|
![]() |
SequentialAccessMode |
Gets or sets a value indicating whether to use CommandBehavior.SequentialAccess.
(Inherited from DataSourceSettings.) |
![]() |
StrictMode |
Gets or sets a value indicating whether strict mode is enabled.
(Inherited from DataSourceSettings.) |
![]() |
SuppressGlobalEvents |
Gets or sets a value indicating whether to suppress global events.
(Inherited from DataSourceSettings.) |
![]() |
XactAbort |
Rolls back a transaction if a Transact-SQL statement raises a run-time error.
|