Gets the total time spent on the last command the current thread executed on this interface object.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Function getCommandDuration() As Nullable(Of Long)
C#
public Nullable<long> getCommandDuration()
C++
public:
 Nullable<long> getCommandDuration() sealed 
J#
public Nullable<long> getCommandDuration()
JScript
public  function getCommandDuration() : Nullable<long>

Return Value

nanoseconds, or null if there was no such command.

See Also