Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Note  The IADsComputer interface is not implemented by the LDAP ADSI provider. For more information, see ADSI Objects of LDAP.

Members

The IADsComputer interface inherits from IDispatch and IADs. IADsComputer also has these types of members:

Methods

The IADsComputer interface has these methods.

MethodDescription
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.

PropertyAccess typeDescription

AdsPath

Read-only

Gets the object ADsPath that uniquely identifies this object from all others.

Class

Read-only

Gets the name of the object schema class.

ComputerID

Read-only

Gets the globally unique identifier for this computer.

Department

Read/write

Gets and sets the department to which this computer belongs.

Description

Read/write

Gets and sets the description of this computer.

Division

Read/write

Gets and sets the division to which this computer belongs.

GUID

Read-only

Gets the GUID of the object as stored in the underlying directory store.

Location

Read/write

Gets and sets the physical location of this computer.

MemorySize

Read/write

Gets and sets the amount of RAM in MB.

Model

Read/write

Gets and sets the make and model of this computer.

Name

Read-only

Gets the object relative name.

NetAddresses

Read/write

Gets and sets binding data.

OperatingSystem

Read/write

Gets and sets the installed operating system in use.

OperatingSystemVersion

Read/write

Gets and sets the version of installed operating system in use.

Owner

Read/write

Gets and sets the registered user of this computer.

Parent

Read-only

Gets the ADsPath string for the parent of the object.

PrimaryUser

Read/write

Gets and sets the contact person for this computer.

Processor

Read/write

Gets and sets type of processor.

ProcessorCount

Read/write

Gets and sets the number of processors installed in this computer.

Role

Read/write

Gets and sets the role of this computer; that is server or workstation.

Schema

Read-only

Gets the ADsPath string to the schema class object for this object.

Site

Read-only

Gets the globally unique identifier for this site.

StorageCapacity

Read/write

Gets and sets, in MB, the size of the hard disk drive.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Iads.h

DLL

Activeds.dll

IID

IID_IADsComputer is defined as EFE3CC70-1D9F-11CF-B1F3-02608C9E7553

See also

IADsComputer Property Methods
IADs

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.