Поделиться через


Свойство NetworkPacketSize

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayNameKeyAttribute("NetworkPacketSizeName")> _
<DisplayDescriptionKeyAttribute("NetworkPacketSizeDesc")> _
Property NetworkPacketSize As Integer
    Get
    Set
'Применение
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)

Значение свойства

Тип: System. . :: . .Int32
Int32