SPFile.IsSharedAccessRequested Property

Gets a Boolean value that indicates whether shared access has been requested for the file.

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

public bool IsSharedAccessRequested { get; }

Property Value

Type: System.Boolean
true if shared access was requested for the file; otherwise, false.