Share via


Site.ShareByLinkEnabled property

Property that indicates whether users will be able to share links to documents that can be accessed without logging in.

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

Syntax

'Declaration
Public ReadOnly Property ShareByLinkEnabled As Boolean
    Get
'Usage
Dim instance As Site
Dim value As Boolean

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

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

Site class

Site members

Microsoft.SharePoint.Client namespace