Partager via


IMailboxExtension.GetDefaultMailboxAsync Method (String, EventHandler<MailboxExtensionEventArgs<IMailbox>>)

 

Asynchronously retrieves the default user account that is used to add to mailbox extension properties.

Namespace:   Microsoft.WindowsServerSolutions.Common
Assembly:  MiscUtil (in MiscUtil.dll)

Syntax

void GetDefaultMailboxAsync(
    string userName,
    EventHandler<MailboxExtensionEventArgs<IMailbox>> handler
)
void GetDefaultMailboxAsync(
    String^ userName,
    EventHandler<MailboxExtensionEventArgs<IMailbox^>^>^ handler
)
Sub GetDefaultMailboxAsync (
    userName As String,
    handler As EventHandler(Of MailboxExtensionEventArgs(Of IMailbox))
)

Parameters

  • userName
    Type: System.String

    The name of the mailbox user account to retrieve.

See Also

IMailboxExtension Interface
Microsoft.WindowsServerSolutions.Common Namespace

Return to top