开发者

Possible values for ManagementObject.GetMethodParameters method?

开发者 https://www.devze.com 2022-12-28 21:28 出处:网络
I only know some of them such as \"CreateVirtualDirectory\" and \"SetDatabaseConnecti开发者_如何学编程on\" etc but where can I get a list of all possible values(method names) for the ManagementObject.

I only know some of them such as "CreateVirtualDirectory" and "SetDatabaseConnecti开发者_如何学编程on" etc but where can I get a list of all possible values(method names) for the ManagementObject.GetMethodParameters method?

Thanks.


The ManagementClass.Methods property returns them, there's a good example in the MSDN Library topic for it.

Have you found the WMI Code Creator utility yet? Very, very handy to test queries and auto-generate the C# code you need.

0

精彩评论

暂无评论...
验证码 换一张
取 消