Xceed .NET Libraries Documentation
GetProtocol<T>(Boolean) Method


Xceed.SSH.Core Assembly > Xceed.SSH.Core Namespace > SSHProtocolManager Class > GetProtocol Method : GetProtocol<T>(Boolean) Method
Syntax
'Declaration
 
Public Overloads Function GetProtocol(Of T As ISSHProtocol)( _

   ByVal throwException As Boolean _

) As T
'Usage
 
Dim instance As SSHProtocolManager

Dim throwException As Boolean

Dim value As T

 

value = instance.GetProtocol(Of T)(throwException)
public T GetProtocol<T>( 

   bool throwException

)

where T: ISSHProtocol

Parameters

throwException

Type Parameters

T
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

SSHProtocolManager Class
SSHProtocolManager Members
Overload List