Share via


RemoteDomainCollection.Find method (String)

When overridden in a derived class, the Find method returns an instance of the RemoteDomain class that represents the domain that is specified by the domainName parameter.

Namespace:  Microsoft.Exchange.Data.Transport
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride Function Find ( _
    domainName As String _
) As RemoteDomain
'Usage
Dim instance As RemoteDomainCollection
Dim domainName As String
Dim returnValue As RemoteDomain

returnValue = instance.Find(domainName)
public abstract RemoteDomain Find(
    string domainName
)

Parameters

  • domainName
    Type: System.String

    The Simple Mail Transfer Protocol (SMTP) domain name for which to search.

Return value

Type: Microsoft.Exchange.Data.Transport.RemoteDomain

See also

Reference

RemoteDomainCollection class

RemoteDomainCollection members

Find overload

Microsoft.Exchange.Data.Transport namespace