Returns the current network packet size used to communicate with SQL Server, specified in bytes.
public int getPacketSize()
Return Value
An integer value containing the current network packet size.
Remarks
If the packetSize property is not set, the getPacketSize method returns the default value of 4096.