IServerPerformanceFacet.NetworkPacketSize 屬性
Gets or sets the NetworkPacketSize property for an instance of SQL Server.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<DisplayDescriptionKeyAttribute("NetworkPacketSizeDesc")> _
<DisplayNameKeyAttribute("NetworkPacketSizeName")> _
Property NetworkPacketSize As Integer
Get
Set
'用途
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)
屬性值
型別:System.Int32
The NetworkPacketSize property for an instance of SQL Server.