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
<DisplayDescriptionKeyAttribute("NetworkPacketSizeDesc")> _
<DisplayNameKeyAttribute("NetworkPacketSizeName")> _
Property NetworkPacketSize As Integer
Get
Set
'Usage
Dim instance As IServerPerformanceFacet
Dim value As Integer
value = instance.NetworkPacketSize
instance.NetworkPacketSize = value
[DisplayDescriptionKeyAttribute("NetworkPacketSizeDesc")]
[DisplayNameKeyAttribute("NetworkPacketSizeName")]
int NetworkPacketSize { get; set; }
[DisplayDescriptionKeyAttribute(L"NetworkPacketSizeDesc")]
[DisplayNameKeyAttribute(L"NetworkPacketSizeName")]
property int NetworkPacketSize {
int get ();
void set (int value);
}
[<DisplayDescriptionKeyAttribute("NetworkPacketSizeDesc")>]
[<DisplayNameKeyAttribute("NetworkPacketSizeName")>]
abstract NetworkPacketSize : int with get, set
function get NetworkPacketSize () : int
function set NetworkPacketSize (value : int)
Property Value
Type: System.Int32
The NetworkPacketSize property for an instance of SQL Server.