Compartir a través de


MSFT_SmbBandwidthLimit class

Represents an SMB bandwidth limit, which is used to throttle SMB traffic.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[dynamic, provider("smbwmiv2"), ClassVersion("7")]
class MSFT_SmbBandwidthLimit
{
  uint32 Category;
  uint64 BytesPerSecond;
};

Members

The MSFT_SmbBandwidthLimit class has these types of members:

Methods

The MSFT_SmbBandwidthLimit class has these methods.

Method Description
Set Specifies the bandwidth limit for SMB traffic of the specified category.

Properties

The MSFT_SmbBandwidthLimit class has these properties.

BytesPerSecond

Data type: uint64

Access type: Read-only

Gets the bandwidth limit in bytes per second.

Category

Data type: uint32

Access type: Read-only

Qualifiers: key

Gets the type of SMB traffic.

9 (0)

Regular Hyper-V over SMB traffic. Default.

53 (1)

VirtualMachine.

54 (2)

LiveMigration.

Requirements

Minimum supported client
Windows 8.1
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\Smb
MOF
SmbWmiV2.mof
DLL
SmbWmiV2.dll

See also

SMB Management API