Compartilhar via


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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public ReadOnly Property IsSharedAccessRequested As Boolean
    Get
'Usage
Dim instance As SPFile
Dim value As Boolean

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

Property Value

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

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace