This topic has not yet been rated - Rate this topic

IADsPropertyValue interface

Applies to: desktop apps only

The IADsPropertyValue interface is used to represent the value of an IADsPropertyEntry object in a predefined data type. This interface exposes several properties for obtaining data values in the corresponding data format.

The IADsPropertyEntry.Values property contains an array of IADsPropertyValue objects. Each of the IADsPropertyValue objects contains a single value of the IADsPropertyEntry object. For more information and a code example for creating entirely new property entries and values, see IADsPropertyList.PutPropertyItem.

When obtaining values in a format not provided by one of the properties of this interface, use the IADsPropertyValue2 interface.

Before calling the methods of this interfaces, call IADs.GetInfo or IADs.GetInfoEx explicitly to load the assigned values of the object into the cache, if the cache has not been initialized. After modifying the properties of this interface, call IADs.SetInfo to save the changes to the persistent store of the underlying directory.

Members

The IADsPropertyValue interface inherits from the IDispatch interface. IADsPropertyValue also has these types of members:

Methods

The IADsPropertyValue interface has these methods.

MethodDescription
Clear

Clears the current value of the PropertyValue object.

 

Properties

The IADsPropertyValue interface has these properties.

PropertyAccess typeDescription

ADsType

Read/write

Gets and sets a property value's data type.

Boolean

Read/write

Gets and sets a Boolean value.

CaseExactString

Read/write

Gets and sets the value of a case-sensitive string.

CaseIgnoreString

Read/write

Gets and sets the value of a case-insensitive string.

DNString

Read/write

Gets and sets an object's distinguished name (path).

Integer

Read/write

Gets and sets an integer value.

LargeInteger

Read/write

Gets and sets a large-integer value.

NumericString

Read/write

Gets and sets the value of a string consisting of numeric characters.

OctetString

Read/write

Gets and sets the value of a string of eight-bit characters.

PrintableString

Read/write

Gets and sets the value of a printable string.

SecurityDescriptor

Read/write

Gets and sets a security descriptor.

UTCTime

Read/write

Gets and sets a Coordinated Universal Time value.

 

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Iads.h

DLL

Activeds.dll

IID

IID_IADsPropertyValue is defined as 79FA9AD0-A97C-11D0-8534-00C04FD8D503

See also

IADs::GetInfo
IADs::GetInfoEx
IADs::SetInfo
IADsPropertyEntry
IADsPropertyValue Property Methods
IADsPropertyValue2

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ