Platform SDK: CDO 1.2.1 |
The AddressLists property returns a single AddressList object or an AddressLists collection object. Read-only.
Set objAddrListsColl = objSession.AddressLists
Set objOneAddrList = objSession.AddressLists(index)
Set objOneAddrList = objSession.AddressLists(name)
Object (AddressList or AddressLists collection)
The AddressLists collection represents the root of the MAPI address book hierarchy for the current session. A particular AddressList object represents one of the available address books. The type of access you obtain depends on the access granted to you by each individual address book provider.
Although the AddressLists property itself is read-only, the collection it returns can be accessed in the normal manner, and the properties on its member AddressList objects retain their respective read/write or read-only accessibility.