NET SFTP Library
EnableLogging(StringBuilder) Method






KellermanSoftware.NetSFtpLibrary Namespace > SFTP Class > EnableLogging Method : EnableLogging(StringBuilder) Method
Log all FTP commands, responses, and exceptions to the console.
Syntax
'Declaration
 
Public Overloads Function EnableLogging( _
   ByVal stringBuilder As System.Text.StringBuilder _
) As System.Boolean
'Usage
 
Dim instance As SFTP
Dim stringBuilder As System.Text.StringBuilder
Dim value As System.Boolean
 
value = instance.EnableLogging(stringBuilder)
public System.bool EnableLogging( 
   System.Text.StringBuilder stringBuilder
)
public function EnableLogging( 
    stringBuilder: System.Text.StringBuilder
): System.Boolean; 
public function EnableLogging( 
   stringBuilder : System.Text.StringBuilder
) : System.boolean;
public: System.bool EnableLogging( 
   System.Text.StringBuilder* stringBuilder
) 
public:
System.bool EnableLogging( 
   System.Text.StringBuilder^ stringBuilder
) 

Parameters

stringBuilder
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

Reference

SFTP Class
SFTP Members
Overload List