Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
You have two options when calling methods through WMI: you may call a WMI method, or a provider method. A WMI method is supported by the WMI infrastructure, and provides general services such as query support or log on access. For example, Logging on to Host Integration Server Through a WMI Provider and Accessing a Host Integration Server Property through WMI describe calling the GetObject and ExecQuery WMI methods. In contrast, a provider method is supported by the provider, and is unique to each service. Most HIS provider methods deal with controlling services. For example, the WmiSna provider supports the MsSna_ServiceSNA class, which in turn supports the Start, Stop, Pause, and Resume methods. The actual process of calling a WMI method or a provider method is the same as calling any other COM or scripting interface.