Returns the tabular data stream (TDS) packet size currently in use.
SqlGetPacket% ( sqlconn% )
where
The TDS packet size currently in use.
To determine the TDS packet size in use, an application should call SqlGetPacket% after SqlOpen%.
You can change the TDS packet size by using SqlSetLPacket%, which sets the packet size field in the login record.
If the call to SqlGetPacket% fails (for example, when sqlconn% is null), SqlGetPacket% returns 0. Other than the failure case of 0, however, the call should never return less than 512 bytes.