Share via


ConnectionSettings.PacketSize Property

Gets or sets the packets of data sent between the client and the server over the network in bytes.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

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

Property Value

Type: Int32
An Int32 value that specifies the network packet size in bytes.

See Also

Reference

ConnectionSettings Class

Microsoft.SqlServer.Management.Common Namespace