dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleConnection Class / Port Property

In This Topic
    Port Property (OracleConnection)
    In This Topic
    Gets or sets number of a port to communicate with listener on the server.
    Syntax
    'Declaration
     
    Public Property Port As Integer
    public int Port {get; set;}

    Property Value

    Number of a port to communicate with listener on the server. The default value is 1521.
    Remarks
    This Port property is used only in OracleConnection.Direct mode. When a value is assigned to this property, the OracleConnection is closed.
    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