ManagementObjectSearcher::Get Method ()
.NET Framework (current version)
Invokes the specified WMI query and returns the resulting collection.
Assembly: System.Management (in System.Management.dll)
Return Value
Type: System.Management::ManagementObjectCollection^A ManagementObjectCollection containing the objects that match the specified query.
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
The following example initializes a new instance of the ManagementObjectSearcher class with a specific query, scope, and enumeration options.
.NET Framework
Available since 1.1
Available since 1.1
Show: