共用方式為


CapturedSql 成員

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.

CapturedSql 型別公開下列成員。

方法

  名稱 描述
公用方法 Add Adds a Transact-SQL statement to the captured Transact-SQL commands in the buffer.
公用方法 Clear Clears the buffer that contains the captured Transact-SQL commands.
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

頂端

屬性

  名稱 描述
公用屬性 Text Gets the captured Transact-SQL commands in the buffer.

頂端