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.
精彩评论