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
名稱 | Description | |
---|---|---|
Text | Gets the captured Transact-SQL commands in the buffer. |
頂端
Public Methods
(see also Protected Methods )
名稱 | 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 ) |
頂端
Protected Methods
名稱 | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
頂端
請參閱
參考
CapturedSql Class
Microsoft.SqlServer.Management.Common Namespace