Sdílet prostřednictvím


SessionTrace Class

Represents the trace sessions. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.SessionTrace

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

Syntax

'Declaration
<GuidAttribute("84CF5C3D-7BD9-40a5-A4AC-18A1E2A32E15")> _
Public NotInheritable Class SessionTrace _
    Implements ITrace
'Usage
Dim instance As SessionTrace
[GuidAttribute("84CF5C3D-7BD9-40a5-A4AC-18A1E2A32E15")]
public sealed class SessionTrace : ITrace
[GuidAttribute(L"84CF5C3D-7BD9-40a5-A4AC-18A1E2A32E15")]
public ref class SessionTrace sealed : ITrace
[<SealedAttribute>]
[<GuidAttribute("84CF5C3D-7BD9-40a5-A4AC-18A1E2A32E15")>]
type SessionTrace =  
    class 
        interface ITrace 
    end
public final class SessionTrace implements ITrace

The SessionTrace type exposes the following members.

Properties

  Name Description
Public property IsStarted Gets the status of a session trace from a SessionTrace object.
Public property Parent Gets the parent Server of the SessionTrace object.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Start Starts a session trace based on the SessionTrace object.
Public method Stop Stops a session trace based on the SessionTrace object.
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event OnEvent Occurs when the session raised an event.
Public event Stopped Occurs when the session stopped.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AnalysisServices Namespace