Share via


MultiServerSqlConnectionInfo.PacketSize Property

Gets or sets size, in bytes, of the TCP packets used by the connection.

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntax

'Declaration
Public Property PacketSize As Integer
    Get
    Set
'Usage
Dim instance As MultiServerSqlConnectionInfo
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)

Property Value

Type: System.Int32
An Int value specifying the packet size, in bytes.