MSSQLServerDatabase.Port

From Xojo Documentation

Property (As Integer )
aMSSQLServerDatabase.Port = newIntegerValue
or
IntegerValue = aMSSQLServerDatabase.Port

Supported for all project types and targets.

The port to use to connect to the MS SQL Server database.

Example

// db is a MSSQLServerDatabase
db.Port = 8090