Partager via


Addin Element

 

Applies To: Windows Server 2012 Essentials

Describes the add-in assembly.

<xs:element name="addin">  
    <xs:complexType>  
      <xs:all>  
        <xs:element name="Service" minOccurs="1" maxOccurs="1">  
          <xs:complexType>  
            <xs:all>  
              <xs:element name="ShortName" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>  
              <xs:element name="FullName" type="xs:string" minOccurs="0" maxOccurs="1" nillable="false"/>  
              <xs:element name="ServiceSignupURL" type="xs:anyURI" minOccurs="0" maxOccurs="1" nillable="false"/>  
              <xs:element name="ServiceUserPortal" type="xs:anyURI" minOccurs="0" maxOccurs="1" nillable="false"/>  
              <xs:element name="RetrievePasswordURL" type="xs:anyURI" minOccurs="0" maxOccurs="1" nillable="false"/>  
              <xs:element name="ServicesDescription" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>  
              <xs:element name="LogoImage" type="xs:string" minOccurs="0" maxOccurs="1" nillable="false"/>  
              <xs:element name="Provider" minOccurs="1" maxOccurs="1" nillable="false">  
                <xs:complexType>  
                  <xs:all>  
                    <xs:element name="Website" type="xs:anyURI" minOccurs="1" maxOccurs="1" nillable="false"/>  
                    <xs:element name="Address" type="xs:string" minOccurs="0" maxOccurs="1" nillable="false"/>  
                    <xs:element name="Name" type="xs:string" minOccurs="1" maxOccurs="1" nillable="false"/>  
                  </xs:all>  
                </xs:complexType>  
              </xs:element>  
              <xs:element name="SupportContact" minOccurs="0" maxOccurs="1" nillable="false">  
                <xs:complexType>  
                  <xs:all>  
                    <xs:element name="Phone" type="xs:string" minOccurs="0" maxOccurs="1" nillable="false"/>  
                    <xs:element name="Email" type="xs:string" minOccurs="0" maxOccurs="1" nillable="false"/>  
                  </xs:all>  
                </xs:complexType>  
              </xs:element>  
            </xs:all>  
          </xs:complexType>  
        </xs:element>  
        <xs:element name="PasswordSync" minOccurs="0" maxOccurs="1" nillable="false">  
          <xs:complexType>  
            <xs:all>  
              <xs:element name="PasswordPolicyOnServer" minOccurs="1" maxOccurs="1" nillable="true">  
                <xs:complexType>  
                  <xs:attribute name="level" type="HostedEmailPasswordPolicyLevelEnum" use="required" />  
                  <xs:attribute name="minLength" type="xs:positiveInteger" use="optional" />  
                </xs:complexType>  
              </xs:element>  
            </xs:all>  
          </xs:complexType>  
        </xs:element>  
        <xs:element name="HideBuiltinUI" minOccurs="0" maxOccurs="1" nillable="false">  
          <xs:complexType>  
            <xs:sequence>  
              <xs:element name="UIAddin" type="HostedEmailBuiltinUIEnum" maxOccurs="unbounded" nillable="false"/>  
            </xs:sequence>  
          </xs:complexType>  
          <!--Duplicate check -->  
          <xs:unique name="DuplicateCheckForUIAddin">  
            <xs:selector xpath="UIAddin"/>  
            <xs:field xpath="."/>  
          </xs:unique>  
        </xs:element>  
      </xs:all>  
      <xs:attribute name="name" type="xs:string"/>  
      <xs:attribute name="id" type="guid" use="required"/>  
      <xs:attribute name="type" type="xs:string" use="required"/>  
      <xs:attribute name="basedir" type="xs:string" use="required"/>  
    </xs:complexType>  
  

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attributes Description
Name String containing the name of the add-in.
id GUID of the Add-in.
type Assembly type. Usually is Microsoft.WindowsServerSolutions.HostedEmailIntegration, CustomAddin
basedir Base directory of the install. Usually is c:\program files\Windows Server\Bin.

Child Elements

Element Description
Service Element
PasswordSync Element
HideBuiltInUI Element

Parent Elements

None.

See Also

How to: Create a Configuration XML File
How to: Manage the Add-In