共用方式為


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
'Usage
Dim address As RoutingAddress
Dim returnValue As RoutingDomain

returnValue = RoutingDomain.GetDomainPart(address)
public static RoutingDomain GetDomainPart(
    RoutingAddress address
)

Parameters

Return value

Type: Microsoft.Exchange.Data.Transport.RoutingDomain
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.

See also

Reference

RoutingDomain structure

RoutingDomain members

Microsoft.Exchange.Data.Transport namespace