Поделиться через


AppPrincipalDefinition complexType

(Манифест надстройки SharePoint)

Область применения: надстройки SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

Определение субъекта надстройки.

Примечание.

Строка app отображается как часть или все имена элементов, атрибутов и файлов, так как надстройки SharePoint изначально назывались приложениями для SharePoint. Чтобы обеспечить обратную совместимость, схемы не были изменены.

Сведения о типе

Информация Расположение
Namespace http://schemas.microsoft.com/sharepoint/2012/app/manifest
Файл схемы appmanifest.xsd
Базовый элемент расширения Отсутствует

Определение

    <xs:complexType name="AppPrincipalDefinition">
      <xs:choice>
        <xs:element name="RemoteWebApplication" >
          <xs:attribute name="ClientId"
          type="AppPermissionAppPrincipalDefinition"
          use="required"
          />
        </xs:element>

        <xs:element name="Internal" >
          <xs:attribute name="AllowedRemoteHostUrl"
          type="ManifestUri"
          use="optional"
          />
          <xs:attribute name="RedirectUrl"
          type="ManifestUri"
          use="optional"
          />
        </xs:element>

        <xs:element name="AutoDeployedWebApplication" >

      <xs:complexType>
        <xs:sequence>
          <xs:element name="DebugInfo"  type="AutoDeployedWebApplicationDebugInfoDefinition"
          minOccurs="0"
          >
          </xs:element>
        </xs:sequence>
      </xs:complexType>

        </xs:element>
      </xs:choice>
    </xs:complexType>

Элементы и атрибуты

Если в схеме определяются конкретные требования, например sequence, minOccurs, maxOccurs и choice, см. раздел определений.

Дочерние элементы

Элемент

Тип

Описание

AutoDeployedWebApplication

Не определен

Внутренняя

Не определен

RemoteWebApplication

Не определен

Атрибуты

Нет.