Set method of the MSFT_SmbBandwidthLimit class
Specifies the bandwidth limit for SMB traffic of the specified category.
Syntax
uint32 Set(
[in] uint32 Category,
[in] uint64 BytesPerSecond,
[out] MSFT_SmbBandwidthLimit Output[]
);
Parameters
-
Category [in]
-
The category that specifies the type of SMB traffic to throttle.
-
"0"
-
Regular Hyper-V over SMB traffic.
-
"1"
-
Live migration traffic.
-
"2"
-
All other traffic.
BytesPerSecond [in]
The bandwidth limit in bytes per second.
Output [out]
Receives an instance of the updated MSFT_SmbBandwidthLimit class.
Requirements
Minimum supported client |
Windows 8.1 |
Minimum supported server |
Windows Server 2012 R2 |
Namespace |
Root\Microsoft\Windows\Smb |
MOF |
|
DLL |
|