Partager via


NetworkPacketSize propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayNameKeyAttribute("NetworkPacketSizeName")> _
<DisplayDescriptionKeyAttribute("NetworkPacketSizeDesc")> _
Property NetworkPacketSize As Integer
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .Int32
Int32