ManagementObjectSearcher.Get Method ()

 

Invokes the specified WMI query and returns the resulting collection.

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

member Get : unit -> ManagementObjectCollection

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: