The IADsProperty Interface

The next question we should ask ourselves is how are properties defined? I mentioned earlier that they were held as Active Directory objects, and you won't be in the least bit surprised when I present to you the

IADsProperty
interface, which provides access to these objects. This interface has these properties (that word again):

Property Type Description
OID
BSTR
Unique Object Identifier
Syntax
BSTR
Syntax pathname
MaxRange
long
Maximum number of values (multi-valued properties only)
MinRange
long
Minimum number of values (multi-valued properties only)
MultiValued
VARIANT_BOOL
Multi-valued property flag

Like the

IADsClass
interface, it also has a single method, which may optionally be implemented:

Method Parameters Description
Qualifiers()
[out, retval] IADsCollection **ppQualifiers
Returns collection of objects describing additional qualifiers

This is pretty self-explanatory, apart from that

Syntax
property. And that brings us to the last interface in the sequence,
IADsSyntax
.

© 1998 by Wrox Press. All rights reserved.