共用方式為


StatementEventArgs Members

The StatementEventArgs class represents the arguments used when a statement event is raised.

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

Public Constructors

  名稱 Description
StatementEventArgs Initializes a new instance of the StatementEventArgs class for the specified Transact-SQL statement at the specified time and date.

頂端

Public Properties

  名稱 Description
ms218671.pubproperty(zh-tw,SQL.90).gif SqlStatement Gets the Transact-SQL statement that caused the statement event.
ms218671.pubproperty(zh-tw,SQL.90).gif TimeStamp Gets the time and date when the statement event occurred.

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms218671.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms218671.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms218671.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms218671.pubmethod(zh-tw,SQL.90).gifms218671.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms218671.pubmethod(zh-tw,SQL.90).gif ToString Overridden. Returns a String value that represents the StatementEventArgs object.

頂端

Protected Methods

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

頂端

請參閱

參考

StatementEventArgs Class
Microsoft.SqlServer.Management.Common Namespace

其他資源

Handling SMO Events