Share via


2.4.4.3.15 SMTP Data Source

When the connection manager is to an SMTP source, the formal type of the ObjectData element is the ConnectionManagerObjectDataType type. However, the following XSD fragment, which is expressed as an anonymous complex type declaration, places further restrictions on the type than the restrictions that are declared in the formal type declaration. A ConnectionManager instance to an SMTP source MUST follow the restrictions that are shown in this anonymous XSD fragment.

Note the following differences between this anonymous complex type declaration and the full definition of the complex type for the ConnectionManagerObjectDataType type:

  • The value for the CreationName Property of the containing ConnectionManager element MUST be "SMOServer".

  • The ObjectData element type MUST be of the type that is specified by the anonymous XSD definition that is contained in this section. 

  • The ObjectData element MUST contain an SmtpConnectionManager element of type ConnectionManagerObjectDataSmtpConnectionManagerType.

This anonymous type declaration acts as a replacement for the definition for ConnectionManagerObjectDataType type in the case of an SMTP data source.

   <xs:complexType>
     <xs:choice>
       <xs:element name="SmtpConnectionManager"
         type="DTS:ConnectionManagerObjectDataSmtpConnectionManagerType"/>
     </xs:choice>
   </xs:complexType>