NetPacketSize Property
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
The NetPacketSize property specifies the size of a network packet used to transmit a block of data from a client and to an instance of Microsoft SQL Server
構文
object
.NetPacketSize [= value]
Parts
- object
An expression that evaluates to an object in the Applies To list
- value
A long integer value from 128 through 65535
Data Type
Long
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetNetPacketSize(LPLONG pRetVal);
HRESULT SetNetPacketSize(long NewValue);
解説
SQL Server uses a default network packet size of 4096 bytes. The size of a network packet may be limited by the Net-Library used for the client connection.
Setting NetPacketSize to 0 enables the default size, 4096 bytes.