Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
---|---|---|
![]() |
Text | Gets the captured Transact-SQL commands in the buffer. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
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 | Overloaded. (inherited from Object ) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetType | (inherited from Object ) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | (inherited from Object ) |
Top
See Also
Reference
CapturedSql Class
Microsoft.SqlServer.Management.Common Namespace