Sdílet prostřednictvím


AcceptedDomainCollection.Find Method (String)

When overridden in a derived class, the Find method finds in the collection the instance of the class derived from the AcceptedDomain class that represents the domain 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 AcceptedDomain
public abstract AcceptedDomain Find (
    string domainName
)
public:
virtual AcceptedDomain^ Find (
    String^ domainName
) abstract
public abstract AcceptedDomain Find (
    String domainName
)
public abstract function Find (
    domainName : String
) : AcceptedDomain

Parameters

  • domainName
    A string value that contains the domain or domain part to find.

Return Value

When overridden in a derived class, the collection contains an instance of the AcceptedDomain class that represents the domain specified by the domainName parameter and the Find method returns that instance of the class derived from the AcceptedDomain class; otherwise, the method returns null.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003