Redigera

Dela via


getPacketSize Method (SQLServerDataSource)

Download JDBC driver

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

Syntax

  
public int getPacketSize()  

Return Value

An int value containing the current network packet size.

Remarks

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

See Also

SQLServerDataSource Members
SQLServerDataSource Class