Platform SDK: CDO 1.2.1

Name Property (InfoStore Object)

The Name property returns the name of the InfoStore object as a string. Read-only.

Syntax

objInfoStore.Name

The Name property is the default property of an InfoStore object, meaning that objInfoStore is syntactically equivalent to objInfoStore.Name in Microsoft® Visual Basic® code.

Data Type

String

Remarks

The Name property can be specified as the parameter to the Item property of the InfoStores collection if you know the name of the message store.

The string “Public Folders” is typically the name of the InfoStore object that contains the public folders.

The Name property corresponds to the MAPI property PR_DISPLAY_NAME.

Example

Dim objInfoStore As InfoStore ' assume valid InfoStore object 
MsgBox "InfoStore name = " & objInfoStore.Name