IADsComputer interface
The IADsComputer interface is a dual interface that inherits from IADs. It is designed to represent and manage a computer, such as a server, client, workstation, and so on, on a network. You can manipulate the properties of this interface to access data about a computer. The data includes the operating system, the make and model, processor, computer identifier, its network addresses, and so on.
Members
The IADsComputer interface inherits from IDispatch and IADs. IADsComputer also has these types of members:
Methods
The IADsComputer interface has these methods.
| Method | Description |
|---|---|
| Get |
Gets the value for a property by name. |
| GetEx |
Gets the value for a single or multi-valued property by name. |
| GetInfo |
Loads the property values of this object from the underlying directory store. |
| GetInfoEx |
Loads specific property values of this object from the underlying directory store. |
| Put |
Sets the value for a property by name. |
| PutEx |
Sets the value for a single or multi-valued property by name. |
| SetInfo |
Persists the changes on this object to the underlying directory store. |
Properties
The IADsComputer interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Gets the object ADsPath that uniquely identifies this object from all others. | |
|
Read-only |
Gets the name of the object schema class. | |
|
Read-only |
Gets the globally unique identifier for this computer. | |
|
Read/write |
Gets and sets the department to which this computer belongs. | |
|
Read/write |
Gets and sets the description of this computer. | |
|
Read/write |
Gets and sets the division to which this computer belongs. | |
|
Read-only |
Gets the GUID of the object as stored in the underlying directory store. | |
|
Read/write |
Gets and sets the physical location of this computer. | |
|
Read/write |
Gets and sets the amount of RAM in MB. | |
|
Read/write |
Gets and sets the make and model of this computer. | |
|
Read-only |
Gets the object relative name. | |
|
Read/write |
Gets and sets binding data. | |
|
Read/write |
Gets and sets the installed operating system in use. | |
|
Read/write |
Gets and sets the version of installed operating system in use. | |
|
Read/write |
Gets and sets the registered user of this computer. | |
|
Read-only |
Gets the ADsPath string for the parent of the object. | |
|
Read/write |
Gets and sets the contact person for this computer. | |
|
Read/write |
Gets and sets type of processor. | |
|
Read/write |
Gets and sets the number of processors installed in this computer. | |
|
Read/write |
Gets and sets the role of this computer; that is server or workstation. | |
|
Read-only |
Gets the ADsPath string to the schema class object for this object. | |
|
Read-only |
Gets the globally unique identifier for this site. | |
|
Read/write |
Gets and sets, in MB, the size of the hard disk drive. |
Requirements
|
Minimum supported client |
Windows Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
Header |
|
|
DLL |
|
|
IID |
IID_IADsComputer is defined as EFE3CC70-1D9F-11CF-B1F3-02608C9E7553 |
See also