Compartilhar via


Propriedade do RDL NetworkPacketSize

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

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

Sintaxe

'Declaração
<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 da propriedade

Tipo: System. . :: . .Int32
Int32