Share via


RoutingDomain.GetDomainPart Method

The GetDomainPart method returns the domain part from the specified instance of the RoutingAddress structure. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).

Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public Shared Function GetDomainPart ( _
    address As RoutingAddress _
) As RoutingDomain
public static RoutingDomain GetDomainPart (
    RoutingAddress address
)
public:
static RoutingDomain GetDomainPart (
    RoutingAddress address
)
public static RoutingDomain GetDomainPart (
    RoutingAddress address
)
public static function GetDomainPart (
    address : RoutingAddress
) : RoutingDomain

Parameters

  • address
    The instance of the RoutingAddress structure from which to get the domain part.

Return Value

The GetDomainPart method returns an instance of the RoutingDomain structure that represents the domain part of the specified instance of the RoutingAddress structure if the domain part is valid; otherwise, the method returns the Empty value.

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