共用方式為


getPacketSize Method (SQLServerDataSource)

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

public int getPacketSize()

傳回值

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.

另請參閱

參考

SQLServerDataSource Class

概念

SQLServerDataSource Methods
SQLServerDataSource Members