Xceed .NET Libraries Documentation
Xceed.SSH.Core Assembly / Xceed.SSH.Core Namespace / SSHProtocolManager Class / GetProtocol Method / GetProtocol<T>(Boolean,Boolean) Method


In This Topic
    GetProtocol<T>(Boolean,Boolean) Method
    In This Topic
    Syntax
    'Declaration
     
    Public Overloads Function GetProtocol(Of T As ISSHProtocol)( _
       ByVal throwException As Boolean, _
       ByVal connect As Boolean _
    ) As T
    'Usage
     
    Dim instance As SSHProtocolManager
    Dim throwException As Boolean
    Dim connect As Boolean
    Dim value As T
     
    value = instance.GetProtocol(Of T)(throwException, connect)
    public T GetProtocol<T>( 
       bool throwException,
       bool connect
    )
    where T: ISSHProtocol

    Parameters

    throwException
    connect

    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