共用方式為


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
ms218505.pubproperty(zh-tw,SQL.90).gif Text Gets the captured Transact-SQL commands in the buffer.

頂端

Public Methods

(see also Protected Methods )

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

頂端

Protected Methods

  名稱 Description
ms218505.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms218505.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

請參閱

參考

CapturedSql Class
Microsoft.SqlServer.Management.Common Namespace