Поделиться через


ConnectionContext Members

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

The following tables list the members exposed by the ConnectionContext type.

Public Constructors

  Name Description
Public constructor ConnectionContext Initializes a new instance of the ConnectionContext class. 

Top

Public Properties

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

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Dispose Overloaded.
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method Static ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Dispose Overloaded.
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)

Top

See Also

Reference

ConnectionContext Class
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace