WmiCollectionBase Class
The WmiCollectionBase class represents all collection objects in the Windows Management Instrumentation (WMI) object reference.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.Wmi.WmiCollectionBase
Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocolCollection
Microsoft.SqlServer.Management.Smo.Wmi.ServerAliasCollection
Microsoft.SqlServer.Management.Smo.Wmi.ServerInstanceCollection
Microsoft.SqlServer.Management.Smo.Wmi.ServerIPAddressCollection
Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocolCollection
Microsoft.SqlServer.Management.Smo.Wmi.ServiceCollection
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public MustInherit Class WmiCollectionBase
'Usage
Dim instance As WmiCollectionBase
public abstract class WmiCollectionBase
public ref class WmiCollectionBase abstract
[<AbstractClassAttribute>]
type WmiCollectionBase = class end
public abstract class WmiCollectionBase
The WmiCollectionBase type exposes the following members.
Properties
Name | Description | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds the specified object to the referenced collection. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Remove | Removes the specified object from the referenced collection. | |
ToString | (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
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. |
Top
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.
Examples
Managing Services and Network Settings by Using WMI Provider
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace