Interface ISharingLink
The sharingLink resource groups link-related data items into a single structure.
public interface ISharingLink
Properties
PreventsDownload
If true then the user can only use this link to view the item on the web, and cannot use it to download the contents of the item. Only for OneDrive for Business and SharePoint.
bool PreventsDownload { get; }
Property Value
Scope
The scope of the link represented by this permission. Value anonymous indicates the link is usable by anyone, organization indicates the link is only usable for users signed into the same tenant.
ShareScope Scope { get; }
Property Value
Type
The type of the link created.
ShareType Type { get; }
Property Value
WebHtml
For embed links, this property contains the HTML code for an iframe element that will embed the item in a webpage.
string WebHtml { get; }
Property Value
WebUrl
A URL that opens the item in the browser on the OneDrive website.
string WebUrl { get; }