AppPrincipalDefinition complexType (内部元素)

(SharePoint 外接程序清单)

适用于:SharePoint 加载项|SharePoint Foundation 2013 |SharePoint Server 2013

此元素的存在意味着加载项是 SharePoint 托管的,而不是提供程序托管的。

备注

该字符串 app 显示为某些元素、属性和文件名的一部分或全部,因为 SharePoint 外接程序最初称为“SharePoint 应用”。 为了确保向后兼容性,架构尚未更改。

元素信息

信息 位置
元素类型 未定义
命名空间 http://schemas.microsoft.com/sharepoint/2012/app/manifest
架构文件 appmanifest.xsd

定义

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

元素和属性

如果架构定义了特定要求(如 序列minOccursmaxOccurs选项),请参阅定义部分。

父元素

元素

类型

说明

AppPrincipal

AppPrincipalDefinition

加载项主体信息。


子元素

无。


属性

属性

类型

必需

说明

可能的值

AllowedRemoteHostUrl

ManifestUri

可选

外接程序主体的允许远程主机 URL。

ManifestUri 类型的值。

RedirectUrl

ManifestUri

可选

加载项主体的重定向 URL。

ManifestUri 类型的值。