CapturedSql Members

The CapturedSql class represents the Transact-SQL commands that are sent to the instance of Microsoft SQL Server by way of the referenced connection but then redirected to a buffer rather than run immediately on the instance of SQL Server.

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

Public Properties

  Name Description
ms218505.pubproperty(en-US,SQL.90).gif Text Gets the captured Transact-SQL commands in the buffer.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms218505.pubmethod(en-US,SQL.90).gif Add Adds a Transact-SQL statement to the captured Transact-SQL commands in the buffer.
ms218505.pubmethod(en-US,SQL.90).gif Clear Clears the buffer that contains the captured Transact-SQL commands.
ms218505.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms218505.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms218505.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms218505.pubmethod(en-US,SQL.90).gifms218505.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms218505.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms218505.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms218505.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

CapturedSql Class
Microsoft.SqlServer.Management.Common Namespace