ManagedLinkAttribute.ConvertServerLinksToRelative Property

Indicates whether the absolute URL should be converted to a server-relative URL.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property ConvertServerLinksToRelative As Boolean
    Get
    Set
'Usage
Dim instance As ManagedLinkAttribute
Dim value As Boolean

value = instance.ConvertServerLinksToRelative

instance.ConvertServerLinksToRelative = value
public bool ConvertServerLinksToRelative { get; set; }

Property Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

ManagedLinkAttribute Class

ManagedLinkAttribute Members

Microsoft.SharePoint.WebPartPages Namespace