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