Udostępnij za pośrednictwem


SessionTrace Class

Definition

Represents a trace session. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("84CF5C3D-7BD9-40a5-A4AC-18A1E2A32E15")]
public sealed class SessionTrace : IDisposable, Microsoft.AnalysisServices.Tabular.ITrace
[<System.Runtime.InteropServices.Guid("84CF5C3D-7BD9-40a5-A4AC-18A1E2A32E15")>]
type SessionTrace = class
    interface ITrace
    interface IDisposable
Public NotInheritable Class SessionTrace
Implements IDisposable, ITrace
Inheritance
SessionTrace
Attributes
Implements

Properties

IsStarted

Gets the status of a session trace from a SessionTrace object.

Parent

Gets the parent Server of the SessionTrace object.

Methods

Dispose()

Dispose the session trace object

Start()

Starts a session trace based on the SessionTrace object.

Stop()

Stops a session trace based on the SessionTrace object.

Events

OnEvent

Occurs when the session raised an event.

Stopped

Occurs when the session stopped.

Applies to