Send feedback on this topic.
Teradata.Client.Provider
PortNumber Property



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : PortNumber Property
Specifies the TCP/IP port number that the .NET Data Provider for Teradata uses for connection to the Teradata Gateway.
Syntax
'Declaration
 
Public Property PortNumber As Integer
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim value As Integer
 
instance.PortNumber = value
 
value = instance.PortNumber
public int PortNumber {get; set;}
public:
property int PortNumber {
   int get();
   void set (    int value);
}
Remarks

You must coordinate changes to this value with accompanying changes on the Gateway.

Default Value: 1025

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members