This documentation is archived and is not being maintained.

ManagementObjectSearcher Constructor

Name Description
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.
ManagementObjectSearcher (ObjectQuery) Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query for management information.
ManagementObjectSearcher (String) Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query for management information.
ManagementObjectSearcher (ManagementScope, ObjectQuery) Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query in the specified scope.
ManagementObjectSearcher (String, String) Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query in the specified scope.
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.
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.
Show: