共用方式為


SqlConnectionInfo.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.

請參閱

參考

SqlConnectionInfo 類別

Microsoft.SqlServer.Management.Common 命名空間