Share via


ConnectionContext Members

Include Protected Members
Include Inherited Members

Establishes the context for the database connection that is associated with the database unit test.

The ConnectionContext type exposes the following members.

Constructors

  Name Description
Aa833846.pubmethod(en-us,VS.90).gif ConnectionContext Initializes a new instance of the ConnectionContext class.

Top

Methods

  Name Description
Aa833846.pubmethod(en-us,VS.90).gif Dispose Overloaded.
Aa833846.pubmethod(en-us,VS.90).gif Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Aa833846.protmethod(en-us,VS.90).gif Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Aa833846.pubmethod(en-us,VS.90).gif GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Aa833846.pubmethod(en-us,VS.90).gif GetType Gets the Type of the current instance. (Inherited from Object.)
Aa833846.protmethod(en-us,VS.90).gif MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Aa833846.pubmethod(en-us,VS.90).gif ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Aa833846.pubproperty(en-us,VS.90).gif CommandTimeout Gets the time (in seconds) that elapses before the command that executes the batch statement times out.
Aa833846.pubproperty(en-us,VS.90).gif Connection Gets or sets the database connection.
Aa833846.pubproperty(en-us,VS.90).gif Provider Gets or sets a provider that is associated with the connection.
Aa833846.pubproperty(en-us,VS.90).gif Transaction Gets or sets the transactions to use when executing the Transact SQL (T-SQL) statements.

Top

See Also

Reference

ConnectionContext Class

Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace