ManagementObjectSearcher Constructor

 

Initializes a new instance of the ManagementObjectSearcher class.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

NameDescription
System_CAPS_pubmethodManagementObjectSearcher()

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.

System_CAPS_pubmethodManagementObjectSearcher(ManagementScope, ObjectQuery)

Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query in the specified scope.

System_CAPS_pubmethodManagementObjectSearcher(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.

System_CAPS_pubmethodManagementObjectSearcher(ObjectQuery)

Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query for management information.

System_CAPS_pubmethodManagementObjectSearcher(String)

Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query for management information.

System_CAPS_pubmethodManagementObjectSearcher(String, String)

Initializes a new instance of the ManagementObjectSearcher class used to invoke the specified query in the specified scope.

System_CAPS_pubmethodManagementObjectSearcher(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.

Return to top
Show: