Sdílet prostřednictvím


ITrace Interface

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Interface ITrace
'Usage
Dim instance As ITrace
public interface ITrace
public interface class ITrace
type ITrace =  interface end
public interface ITrace

The ITrace type exposes the following members.

Properties

  Name Description
Public property IsStarted Infrastructure. Gets whether the initiation status of an ITrace object is started.
Public property Parent Infrastructure. Gets the parent server of a trace.

Top

Methods

  Name Description
Public method Start Infrastructure. Starts an ITrace.
Public method Stop Infrastructure. Stops an ITrace.

Top

Events

  Name Description
Public event OnEvent Infrastructure. Assigns a certain trace event handler to an event associated with an ITrace object.
Public event Stopped Infrastructure. Indicates that an ITrace has stopped.

Top

See Also

Reference

Microsoft.AnalysisServices Namespace