Skip to main content

ConnectionOptions Members

Specifies the data connection options of a SqlDataSource.

Constructors

Name Description
ConnectionOptions() Initializes a new instance of the ConnectionOptions class with the default settings.
ConnectionOptions(ConnectionOptions) Initializes a new instance of the ConnectionOptions class with the specified prototype.

Properties

Name Description
CloseConnection Specifies whether or not a data connection should be closed after executing a query.
DbCommandTimeout Specifies the wait time (in seconds) before terminating the attempt to execute a query and generating an error.
IsolationLevel Specifies the isolation level for all queries, stored procedures, and other operations executed for the specified connection.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also