Export (0) Print
Expand All

ManagementObjectSearcher Constructor

Initializes a new instance of the ManagementObjectSearcher class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method ManagementObjectSearcher() Initializes a new instance of the ManagementObjectSearcher class. After some properties on this object are set, the object can be used to invoke a query for management information. This is the default constructor.
Public method ManagementObjectSearcher(ObjectQuery) Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query for management information.
Public method ManagementObjectSearcher(String) Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query for management information.
Public method ManagementObjectSearcher(ManagementScope, ObjectQuery) Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query in the specified scope.
Public method ManagementObjectSearcher(String, String) Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query in the specified scope.
Public method ManagementObjectSearcher(ManagementScope, ObjectQuery, EnumerationOptions) Initializes a new instance of the ManagementObjectSearcher class to be used to invoke the specified query in the specified scope, with the specified options.
Public method ManagementObjectSearcher(String, String, EnumerationOptions) Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query, in the specified scope, and with the specified options.
Top
Show:
© 2014 Microsoft