Поделиться через


Свойство PacketSize

Gets or sets the network packet size used by the connection to send and receive data in bytes.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public Property PacketSize As Integer
    Get
    Set
'Применение
Dim instance As SqlConnectionInfo
Dim value As Integer

value = instance.PacketSize

instance.PacketSize = value
public int PacketSize { get; set; }
public:
property int PacketSize {
    int get ();
    void set (int value);
}
member PacketSize : int with get, set
function get PacketSize () : int
function set PacketSize (value : int)

Значение свойства

Тип System. . :: . .Int32
A Int32 value that specifies the network packet sized used by the connection in bytes.