Share via


Context.TraceEvent Method

Raises a trace event with the specified information.

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

Syntax

'Declaration
Public Shared Sub TraceEvent ( _
    eventSubclass As Integer, _
    numberData As Integer, _
    textData As String _
)
'Usage
Dim eventSubclass As Integer
Dim numberData As Integer
Dim textData As String

Context.TraceEvent(eventSubclass, numberData, _
    textData)
public static void TraceEvent(
    int eventSubclass,
    int numberData,
    string textData
)
public:
static void TraceEvent(
    int eventSubclass, 
    int numberData, 
    String^ textData
)
static member TraceEvent : 
        eventSubclass:int * 
        numberData:int * 
        textData:string -> unit 
public static function TraceEvent(
    eventSubclass : int, 
    numberData : int, 
    textData : String
)

Parameters

  • eventSubclass
    Type: System.Int32
    The event subclass identifier for this event.
  • numberData
    Type: System.Int32
    An integer containing the numeric data for this event.
  • textData
    Type: System.String
    A string containing the text data for this event.