共用方式為


RoutingDomain members

The RoutingDomain structure represents an Simple Mail Transfer Protocol (SMTP) domain to use when you are overriding the default routing for a recipient. This type was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).

The RoutingDomain type exposes the following members.

Constructors

  Name Description
Public method RoutingDomain(String) The RoutingDomain constructor initializes a new instance of the RoutingDomain structure. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).
Public method RoutingDomain(String, String) Initializes a new instance of the RoutingDomain class to the specified domain and type.

Top

Properties

  Name Description
Public property Domain The Domain property gets the name of the domain that is represented by this instance of the RoutingDomain structure. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).
Public property Type Gets the domain type.

Top

Methods

  Name Description
Public method CompareTo(Object) The CompareTo method compares this instance of the RoutingDomain structure to the specified object. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).
Public method CompareTo(RoutingDomain) The CompareTo method compares this instance of the RoutingDomain structure to the specified instance of the RoutingDomain structure. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).
Public method Equals(Object) The Equals method determines whether this instance of the RoutingDomain structure is equal to the object that is specified. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1). (Overrides ValueType.Equals(Object).)
Public method Equals(RoutingDomain) The Equals method determines whether this instance of the RoutingDomain structure is equal to the domain that is represented by the specified instance of the RoutingDomain structure. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).
Public methodStatic member GetDomainPart 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).
Public method GetHashCode The GetHashCode method returns an integer value that contains a unique hash code for this instance of the RoutingDomain structure. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1). (Overrides ValueType.GetHashCode().)
Public method IsSmtp Indicates whether the domain is of type SMTP.
Public method IsValid The IsValid method evaluates the validity of the domain that is represented by this instance of the RoutingDomain structure. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).
Public methodStatic member Parse The Parse method converts the string representation of a Simple Mail Transfer Protocol (SMTP) domain to an equivalent instance of the RoutingDomain structure. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).
Public method ToString The ToString method returns a string representation of the domain in this instance of the RoutingDomain structure. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1). (Overrides ValueType.ToString().)
Public methodStatic member TryParse The TryParse method converts the string representation of a Simple Mail Transfer Protocol (SMTP) domain to an equivalent instance of the RoutingDomain structure. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).

Top

Operators

  Name Description
Public operatorStatic member Equality The Equality method compares two specified instances of the RoutingDomain structure for equality. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).
Public operatorStatic member Inequality The Inequality method compares two specified instances of the RoutingDomain structure for inequality. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).

Top

Fields

  Name Description
Public fieldStatic member Empty The Empty field contains an empty instance of the RoutingDomain structure that contains a null reference (Nothing in Visual Basic) for the domain. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).
Public fieldStatic member Smtp Returns a constant string with the value of "smtp".

Top

See also

Reference

RoutingDomain structure

Microsoft.Exchange.Data.Transport namespace