Partager via


Link Element (DeploymentManifest)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Represents an instance of a Windows SharePoint Services link (SPLink) object.

DECLARATION
<xs:element name="Link" 
        type="SPLink" 
        minOccurs="0" maxOccurs="unbounded" 
/>

USAGE
<Links>
        <Link
                TargetId="Guid"
                TargetUrl="xs:string"
                IsDirty="xs:boolean"
                WebPartId="Guid"
                LinkNumber="xs:int"
                Type="xs:unsignedByte"
                Security="xs:unsignedByte"
                Dynamic="xs:unsignedByte"
                ServerRel="xs:boolean"
                Level="xs:unsignedByte"
                Search="xs:string"
        />
</Links>

Type

Microsoft.SharePoint.SPLink

Attributes

Attribute

Type

Description

TargetId

Guid Simple Type (DeploymentManifest)

Required. Identifier of the link target.

TargetUrl

xs:string

Required. URL represented by the link.

IsDirty

xs:boolean

Required. Specifies whether the link value has been changed; true if the link has changed, otherwise false.

WebPartId

Guid Simple Type (DeploymentManifest)

Optional. Unique identifier of the Web Part in which the link is sited.

LinkNumber

xs:int

Optional. Identifying number of the link, if any.

Type

xs:unsignedByte

Optional.

Security

xs:unsignedByte

Optional.

Dynamic

xs:unsignedByte

Optional.

ServerRel

xs:boolean

Optional. Specifies whether the link is a server-relative URL; true if the link is server-relative, otherwise false.

Level

xs:unsignedByte

Optional.

Search

xs:string

Optional.

Child Elements

None

Parent Elements

Links Element (DeploymentManifest - SPFile)

See Also

Reference

SPLink

Concepts

DeploymentManifest Schema