I WOULD LIKE AN EXAMPLE TIBCTraceService
I WOULD LIKE AN EXAMPLE TIBCTraceService
I WOULD LIKE AN EXAMPLE TIBCTraceService
Re: I WOULD LIKE AN EXAMPLE TIBCTraceService
Unfortunately, we don't have a demo project showing the usage of the TIBCTraceService component.
To use the TIBCTraceService component, you can use the following guidelines:
- set the required properties for connecting to the database:
- set in the property IBCTraceService.Config the session configuration. More information about the session configuration, you can get on our website: https://www.devart.com/ibdac/docs/index ... config.htm
- connect to the database:
- run trace service:
- to receive the information about tracing, you should use the methods IBCTraceService.GetNextLine, IBCTraceService.GetNextChunk:
To use the TIBCTraceService component, you can use the following guidelines:
- set the required properties for connecting to the database:
Code: Select all
IBCTraceService.Server := Server;
IBCTraceService.Port := Port;
IBCTraceService.Username := Username;
IBCTraceService.Password := Password;
IBCTraceService.ClientLibrary := ClientLibrary;
- connect to the database:
Code: Select all
IBCTraceService.Attach;
Code: Select all
IBCTraceService.StartTrace;
Code: Select all
while not IBCTraceService.Eof do
Memo.Lines.Add(IBCTraceService.GetNextLine);