如何为特定适配器使用MSFT_NetQosFlowControlSettingData类 [英] How to use MSFT_NetQosFlowControlSettingData class for specific adapter
问题描述
我试图使用
使用C ++ / C#。
我理解我需要与MSFT_NetQosFlowControlSettingData类进行交互,但我怎么能得到 NetQosFLowControl
特定适配器的信息(-Interfac eAlias参数)?
当我运行PowerShell命令"Get-NetQosFlowControl -InterfaceAlias"以太网4"" WMI查询PowerShell做什么?哪些WMI对象/方法/属性是否可以访问?
I understand that I need to interact with MSFT_NetQosFlowControlSettingData class, but how I could get NetQosFLowControl
information for specific adapter (-InterfaceAlias parameter)?
When I run PowerShell command "Get-NetQosFlowControl -InterfaceAlias "Ethernet 4"" what WMI query PowerShell does? Which WMI Objects/Methods/Properties does it access?
通过枚举MSFT_NetQosFlowControlSettingData类的属性和方法,我发现它具有"PolicySet"属性和方法"SwitchPolicySet",它需要三个参数: InterfaceAlias,InterfaceIndex,PolicySet。那些属性
和方法没有文档,我不知道如何使用它们。
我认为它可能与答案有关,但我不确切知道如何。
最好的问候,
Alexander
I think it could be related to the answer, but I don`t know exactly how.
Best Regards,
Alexander
推荐答案
移至正确的论坛。
Moved to correct forum.
这篇关于如何为特定适配器使用MSFT_NetQosFlowControlSettingData类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!