Partager via


IHostedEmailAdaptor.GetDomains Method ()

 

Retrieves the domains of the hosted email service.

Namespace:   Microsoft.WindowsServerSolutions.HostedEmail
Assembly:  Wssg.HostedEmailBase (in Wssg.HostedEmailBase.dll)

Syntax

string[] GetDomains()
array<String^>^ GetDomains()
Function GetDomains As String()

Return Value

Type: System.String[]

A String containing the domain of the service.

Remarks

This method is called by BeginGetDomains and GetDomains.

Examples

The following code implements GetDomains. For the complete code sample, see Quickstart: Creating a Hosted Email Adapter.

public string[] GetDomains()
{
    return EmailService.GetDomains();
}

See Also

IHostedEmailAdaptor Interface
Microsoft.WindowsServerSolutions.HostedEmail Namespace

Return to top