getPacketSize Method (SQLServerDataSource)

DownloadDownload JDBC Driver

Returns the current network packet size used to communicate with SQL Server, specified in bytes.


public int getPacketSize()  

Return Value

An int value containing the current network packet size.


If the packetSize property is not set, the getPacketSize method returns the default value of 8000.

See Also

SQLServerDataSource Members
SQLServerDataSource Class