SqlConnectionInfo.PacketSize 屬性
取得或設定此連接用來傳送及接收資料的網路封包大小 (以位元組為單位)。
命名空間: 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)
屬性值
型別:Int32
Int32 值,指定連接所使用的網路封包大小 (以位元組為單位)。