GetMailBoxName Method

Get mailbox name by index.

[Syntax]
C++: HRESULT GetMailBoxName( long Index, BSTR* pVal )
Visual Basic: GetMailBoxName( Index As long ) As String
C#: string GetMailBoxName( long Index )

Parameters

Index

Ordinal number of mailbox. The minimum value is 0, the maximum value is returned by GetMailBoxCount method.

Return Value

If this method succeeds, the return value is the mailbox name. If it fails, the return value is null string.


2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.