PerformanceMonitor.processId Method [AX 2012]

Returns the processId value of the process that is running this method.

public int processId()

Run On

Called

Return Value

Type: int
The processId value of the Microsoft Dynamics AX process that is running this method.

static void processIdDemo(args a) 
{ 
    PerformanceMonitor pm = new PerformanceMonitor(); 
    print pm.processId(); 
    pause; 
}

Community Additions

ADD
Show: