GetInstances Method

ManagementClass.GetInstances Method

 

Returns the collection of all instances of the class.

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

NameDescription
System_CAPS_pubmethodGetInstances()

Returns the collection of all instances of the class.

System_CAPS_pubmethodGetInstances(EnumerationOptions)

Returns the collection of all instances of the class using the specified options.

System_CAPS_pubmethodGetInstances(ManagementOperationObserver)

Returns the collection of all instances of the class, asynchronously.

System_CAPS_pubmethodGetInstances(ManagementOperationObserver, EnumerationOptions)

Returns the collection of all instances of the class, asynchronously, using the specified options.

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.

Return to top
Show:
© 2016 Microsoft