WmiCollectionBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The WmiCollectionBase class represents all collection objects in the Windows Management Instrumentation (WMI) object reference.
public ref class WmiCollectionBase abstract
public abstract class WmiCollectionBase
type WmiCollectionBase = class
Public MustInherit Class WmiCollectionBase
- Inheritance
-
WmiCollectionBase
- Derived
Examples
Managing Services and Network Settings by Using WMI Provider
Remarks
The WmiCollectionBase object is used in the construction of all WMI collection objects and contains common functionality.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Fields
initialized |
Defines a boolean method that initializes the collection of objects in the Windows Management Instrumentation (WMI) object preference. Do not reference this member directly in your code. It supports the SQL Server infrastructure. |
innerColl |
Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. |
Properties
IsSynchronized |
Gets the Boolean property value that specifies whether access to the collection is synchronized (thread safe). |
SyncRoot |
Gets an object that can be used to synchronize access to the collection. |
Methods
Add(WmiSmoObject) |
Adds the specified object to the referenced collection. |
Remove(String) |
Removes the specified object from the referenced collection. |