Max packet size using AseConnection

Connection string

This ASE ADO.NET Data Provider connection string can be used for connections to Sybase Adaptive.

If you are using EnableServerPacketSize but still needs to set an upper limit you can specify that limit in multiples of 512 all the way to 65,536.

Data Source=myASEserver;Port=5000;Database=myDataBase;Uid=myUsername;
Pwd
=myPassword;
RestrictMaximum PacketSize=4096;