SqlServerDataSource Properties
The SqlServerDataSource type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
ArithAbort |
Terminates a query when an overflow or divide-by-zero error occurs during query execution.
|
![]() |
AuditRules |
Gets or sets the audit rules.
(Inherited from DataSource.) |
![]() |
Cache |
Gets the cache to be used by this data source. The default is .NET's System.Runtime.Caching.MemoryCache.
(Inherited from DataSource.) |
![]() |
DatabaseMetadata |
This object can be used to lookup database information.
|
![]() |
DefaultCommandTimeout |
Gets or sets the default command timeout.
(Inherited from DataSource.) |
![]() |
DefaultNVarCharLength |
Gets 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 the default type of string parameters. This is used when the query builder cannot determine the best parameter type.
|
![]() |
DefaultVarCharLength |
Gets 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.
|
![]() |
ExtensionCache | (Inherited from DataSource.) |
![]() |
IsSqlDependencyActive |
Gets a value indicating whether SQL dependency support is active for this dispatcher.
|
![]() |
Name |
Gets the name of the data source.
(Inherited from DataSource.) |
![]() |
SequentialAccessMode |
Gets a value indicating whether to use CommandBehavior.SequentialAccess.
(Inherited from DataSource.) |
![]() |
StrictMode |
Gets a value indicating whether strict mode is enabled.
(Inherited from DataSource.) |
![]() |
SuppressGlobalEvents |
Gets or sets a value indicating whether to suppress global events.
(Inherited from DataSource.) |
![]() |
UserValue |
Gets or sets the user value to use with audit rules.
(Inherited from DataSource.) |
![]() |
XactAbort |
Rolls back a transaction if a Transact-SQL statement raises a run-time error.
|