Compartir a través de


NetworkPacketSize Propiedad

Gets or sets the NetworkPacketSize property for an instance of SQL Server.

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

Sintaxis

'Declaración
<DisplayNameKeyAttribute("NetworkPacketSizeName")> _
<DisplayDescriptionKeyAttribute("NetworkPacketSizeDesc")> _
Property NetworkPacketSize As Integer
    Get
    Set
'Uso
Dim instance As IServerPerformanceFacet
Dim value As Integer

value = instance.NetworkPacketSize

instance.NetworkPacketSize = value
[DisplayNameKeyAttribute("NetworkPacketSizeName")]
[DisplayDescriptionKeyAttribute("NetworkPacketSizeDesc")]
int NetworkPacketSize { get; set; }
[DisplayNameKeyAttribute(L"NetworkPacketSizeName")]
[DisplayDescriptionKeyAttribute(L"NetworkPacketSizeDesc")]
property int NetworkPacketSize {
    int get ();
    void set (int value);
}
[<DisplayNameKeyAttribute("NetworkPacketSizeName")>]
[<DisplayDescriptionKeyAttribute("NetworkPacketSizeDesc")>]
abstract NetworkPacketSize : int with get, set
function get NetworkPacketSize () : int
function set NetworkPacketSize (value : int)

Valor de la propiedad

Tipo: System. . :: . .Int32
Int32