ConnectionSettings.PacketSize 屬性
取得或設定透過網路在用戶端與伺服器之間傳送的資料封包 (以位元組為單位)。
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Public Property PacketSize As Integer
Get
Set
'用途
Dim instance As ConnectionSettings
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)
屬性值
型別:Int32
指定網路封包大小 (以位元組為單位) 的 Int32 值。