共用方式為


ITrace 介面

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Provides a mechanism to store event logs which can be later viewed or replayed.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Interface ITrace
'用途
Dim instance As ITrace
public interface ITrace
public interface class ITrace
type ITrace =  interface end
public interface ITrace

ITrace 型別公開下列成員。

屬性

  名稱 說明
公用屬性 IsStarted 基礎結構。Gets whether the initiation status of an ITrace object is started.
公用屬性 Parent 基礎結構。Gets the parent server of a trace.

上層

方法

  名稱 說明
公用方法 Start 基礎結構。Starts an ITrace.
公用方法 Stop 基礎結構。Stops an ITrace.

上層

事件

  名稱 說明
公用事件 OnEvent 基礎結構。Assigns a certain trace event handler to an event associated with an ITrace object.
公用事件 Stopped 基礎結構。Indicates that an ITrace has stopped.

上層

請參閱

參考

Microsoft.AnalysisServices 命名空間