CapturedSql Members

Include Protected Members
Include Inherited Members

The CapturedSql class represents the Transact-SQL commands that are sent to the instance of SQL Server by way of the referenced connection. However, they are then redirected to a buffer instead of running immediately on the instance of SQL Server.

The CapturedSql type exposes the following members.

Methods

  Name Description
Public method Add(String) Adds a Transact-SQL statement to the captured Transact-SQL commands in the buffer.
Public method Clear() Clears the buffer that contains the captured Transact-SQL commands.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property Text Gets the captured Transact-SQL commands in the buffer.

Top