IServerPerformanceFacet.NetworkPacketSize Property

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

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

Syntax

'Declaration
<DisplayNameKeyAttribute("NetworkPacketSizeName")> _
<DisplayDescriptionKeyAttribute("NetworkPacketSizeDesc")> _
Property NetworkPacketSize As Integer
    Get
    Set
'Usage
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)

Property Value

Type: System.Int32
Int32