SWbemObjectSet object
Applies to: desktop apps only
An SWbemObjectSet object is a collection of SWbemObject objects. For more information, see Accessing a Collection. This object cannot be created by the VBScript CreateObject call.
You can get an SWbemObjectSet object by calling any of the following methods or their asynchronous equivalents:
- SWbemObject.Associators_
- SWbemObject.Instances_
- SWbemObject.References_
- SWbemObject.Subclasses_
- SWbemServices.AssociatorsOf
- SWbemServices.ExecQuery
- SWbemServices.InstancesOf
- SWbemServices.ReferencesTo
- SWbemServices.SubclassesOf
Note The SWbemObjectSet object does not support the optional Add and Remove collection methods.
Note Because the call-back to the sink might not be returned at the same authentication level as the client requires, it is recommended that you use semisynchronous instead of asynchronous communication. For more information, see Calling a Method.
Members
The SWbemObjectSet object has these types of members:
Methods
The SWbemObjectSet object has these methods.
| Method | Description |
|---|---|
| Item |
Retrieves an SWbemObject object from the collection. This is the default method of the object. |
Properties
The SWbemObjectSet object has these properties.
| Property | Access type | Description |
|---|---|---|
| Write-only |
The number of items in the collection. | |
| Write-only |
Used to read or change the security settings. |
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Type library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 3/9/2012