Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

[TIBCO.EMS .NET Admin client library 6.0 documentation]

Retrieves the current trace buffer of the server.

Namespace: TIBCO.EMS.ADMIN
Assembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)

# Syntax

    public string[] GetTraceBuffer(
    	bool clear
    )

    Public Function GetTraceBuffer ( _
    	clear As Boolean _
    ) As String()

    public:
    array<String^>^ GetTraceBuffer(
    	bool clear
    )

#### Parameters

clear
  Type: System..::.Boolean
  A flag indicating whether or not to remove the contents of the buffer in the server upon reading them.

#### Return Value

A string array containing copies of buffered trace lines in the server at the time the call was made. Returns null if the server trace buffer is empty.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace