Platform SDK: Active Directory, ADSI, and Directory Services

GetEx Method

Some properties are returned as multi-valued. They can contain one or more values. For instance, a list of descriptions on a domain is a multi-valued property. You can retrieve a multi-valued property as an array using the IADs::GetEx method.

IADs::GetEx gets properties that support single or multiple values in VARIANT structures from the property cache. Finding no value in the cache invokes an implicit IADs::GetInfoEx. IADs::Get can also be used to retrieve properties with a single value.