共用方式為


SPFile.CreateSharedAccessRequest Method

Requests shared access for the file.

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

Syntax

'Declaration
Public Sub CreateSharedAccessRequest
'Usage
Dim instance As SPFile

instance.CreateSharedAccessRequest()
public void CreateSharedAccessRequest()

Remarks

This method creates a shared access request that allows multiple users to edit the current file.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace