dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2ConnectionStringBuilder Class / TraceFile Property

In This Topic
    TraceFile Property
    In This Topic
    Gets or sets the name of a file to which all the connection trace information is written.
    Syntax
    'Declaration
     
    Public Property TraceFile As String
    public string TraceFile {get; set;}

    Property Value

    The name of a file to which all the connection trace information is written.
    Remarks

    If the file specified does not exist, then it will be created; otherwise, the new trace information will be appended to the end of the file. However, the path to the file must exist.

    If the filename given is invalid or if the file cannot be created or written to, no trace will occur and no error message will be returned.

    It is not recommended to use tracing in a multithreaded application, because all the threads will write to the same output file, and the output will be hard to decipher.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also