SDAC

TMSConnection.Port Property

Used to specify the port number for the connection.

Class

TMSConnection

Syntax

property Port: integer default DefaultSDACPort;

Remarks

Use the Port property to specify the port number for the connection. The default value is 1433.

Note 1: If the Server property contains a port (for example, Server=localhost,1434 ), the Port property is ignored.

Note 2: If the Port property is set to the default value 1433, and the Server property does not contain a port or is blank, the Port property is ignored. In this case, the used provider (OLEDB or SQL Native Client) performs searching on the specified server for the correct port that is listened by SQL Server and uses it to connect to the server.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback