Share via


SPSite.ShareByLinkEnabled property

Property indicates whether that user's will be able to share links to documents that can be accessed without logging in

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property ShareByLinkEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPSite
Dim value As Boolean

value = instance.ShareByLinkEnabled

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

Property value

Type: System.Boolean
True when user will be able to share links to documents that can be accessed without logging in

See also

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace