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

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public bool IsSharedAccessRequested { get; }

Property Value

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