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 命名空间