IAdmMailboxStoragePropertyPatternItem
The IAdmMailboxStoragePropertyPatternItem interface represents a property pattern entry for the Exchange Mailbox Database property.
Inheritance: IAdmPropertyPatternItem
Methods
-
Method
-
Description
-
GetNextMailboxStorageDatabase()
-
Returns the next Exchange database that must be used to create a mailbox.
-
NotifyMailBoxStorageDataBaseIsUsed()
-
Notifies that a certain Exchange database was used to create a mailbox.
Properties
-
Property
-
Description
-
MailboxStorageSelectionType
-
Gets or sets a value indicating how a mailbox database must be selected for a new mailbox.
-
AllowedMailboxStorageDatabases
-
Gets or sets a list of globally unique identifiers (GUIDs) of Exchange databases that are allowed to hold new mailboxes.
Details
GetNextMailboxStorageDatabase()
Returns the next Exchange database that must be used to create a mailbox.
IAdmExchangeStorageDatabase GetNextMailboxStorageDatabase(IAdmTop targetObject)
Parameters
The targetObject parameter specifies the ADSI object for which a mailbox is being created.
Exceptions
- NotSupportedException
- The
MailboxStorageSelectionType
property is set toADM_MAILBOXSTORAGESELECTIONTYPE_NONE
.
NotifyMailBoxStorageDataBaseIsUsed()
Notifies that a certain Exchange database was used to create a mailbox. Clients must notify the property pattern item about using the Exchange database to allow the property pattern item to generate the Exchange database for the next object.
void NotifyMailBoxStorageDataBaseIsUsed(IAdmTop targetObject,
IAdmExchangeStorageDatabase storageDatabase)
Parameters
- targetObject - Specifies the ADSI object for which a mailbox was created.
- storageDatabase - Specifies the Exchange database that was used to create the mailbox.
MailboxStorageSelectionType
Gets or sets a value indicating how a mailbox database must be selected for a new mailbox.
- Type:
- ADM_MAILBOXSTORAGESELECTIONTYPE_ENUM
- Access:
- Read/Write
AllowedMailboxStorageDatabases
Gets or sets a list of globally unique identifiers (GUIDs) of Exchange databases that are allowed to hold new mailboxes. If this property is not set, all available databases are allowed to be used.
- Type:
- string[]
- Access:
- Read/Write
Requirements
Minimum required version: 2010.2