Limiting Size of Capture File

Review the instructions to limit the size of the capture file.

  1. Immediately after you have established a connection, get the Capture object for the connection and use the pause method to stop capturing TDS data:
    Capture cap = ((SybConnection)conn).getCapture();
     cap.pause();
  2. Place cap.resume where you want to start capturing TDS data.
  3. Place cap.pause where you want to stop capturing data.