Compartir a través de


PacketSize Propiedad

Gets or sets the network packet size used by the connection to send and receive data in bytes.

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
Public Property PacketSize As Integer
    Get
    Set
'Uso
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)

Valor de la propiedad

Tipo: System. . :: . .Int32
A Int32 value that specifies the network packet sized used by the connection in bytes.