'Declaration
Public Property TraceWriter As TextWriter
'Usage
Dim instance As SFtpSession
Dim value As TextWriter
instance.TraceWriter = value
value = instance.TraceWriter
Property Value
A reference to a System.IO.TextWriter which will trace the communications between the client-side and the SFTP server. By default, a null reference (Nothing in Visual Basic) therefore no tracing is done.
Example
The following example demonstrates how to write to a StreamWriter.
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