getPacketSize Method (SQLServerDataSource)

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.

Remarks

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

See Also

Reference

SQLServerDataSource Class

Concepts

SQLServerDataSource Methods
SQLServerDataSource Members