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.
    See Also