IADsComputer

The IADsComputer interface enables a COM object in Active Directory to manage the information representing a computer (server, client, workstation, etc.) on a network.

Properties accessed by IADsComputer are defined on the ADSI Computer Object.

When to Implement

Implement IADsComputer only when you are providing an Active Directory implementation for your directory service.

When to Use

Call the methods on this interface when you are referencing the information describing the physical computer or its network addresses.

Methods in VTable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IDispatch Methods Description
GetTypeInfoCount Gets the number of type descriptions.
GetTypeInfo Gets a description of object's programmable interface.
GetIDsOfNames Maps name of method or property to DISPID.
Invoke Calls one of the object's methods, or gets/sets one of its properties.

IADs Methods Description
get_Name Gets the object's relative name.
get_Class Gets the object's schema class name.
get_GUID Gets the object's globally unique identifier.
get_ADsPath Gets the object's ADsPath that uniquely identifies this object from all others.
get_Parent Gets the object's ADsPath string for its parent container.
get_Schema Gets the ADsPath string to the schema class definition object for this object.
GetInfo Reloads the changes on this object and its dependents.
SetInfo Saves the changes on this object and its dependents.
Get Gets the value for a property by name.
Put Sets the value for a property by name.
GetEx Gets the value for a single or multi-valued property by name.
PutEx Sets the value for a single or multi-valued property by name.
GetInfoEx Reloads specific property values for this object as they exist in the underlying directory service.

IADsComputer Methods Description
get_ComputerID Gets/sets globally unique identifier for this machine.
get_Site Gets/sets globally unique identifier for this site.
get/put_Description Gets/sets description of this computer.
get/put_Location Gets/sets physical location of this computer.
get/put_PrimaryUser Gets/sets contact person for this computer.
get/put_Owner Gets/sets licensed user of this computer.
get/put_Division Gets/sets division to which this computer belongs.
get/put_Department Gets/sets department to which this computer belongs.
get/put_Role Gets/sets ole of this computer (server, workstation, etc.)
get/put_OperatingSystem Gets/sets installed operating system in use.
get/put_OperatingSystemVersion Gets/sets version of installed operating system in use.
get/put_Model Gets/sets make/model of this computer.
get/put_Processor Gets/sets type of processor.
get/put_ProcessorCount Gets/sets number of processors installed in this computer.
get/put_MemorySize Gets/sets size of RAM in MB.
get/put_StorageCapacity Gets/sets size of disk space in MB.
get/put_NetAddresses Gets/sets binding information.