Web.GetFileByGuestUrlEnsureAccess method
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function GetFileByGuestUrlEnsureAccess ( _
guestUrl As String, _
ensureAccess As Boolean _
) As File
'Usage
Dim instance As Web
Dim guestUrl As String
Dim ensureAccess As Boolean
Dim returnValue As File
returnValue = instance.GetFileByGuestUrlEnsureAccess(guestUrl, _
ensureAccess)
public File GetFileByGuestUrlEnsureAccess(
string guestUrl,
bool ensureAccess
)
Parameters
- guestUrl
Type: System.String
- ensureAccess
Type: System.Boolean
Return value
Type: Microsoft.SharePoint.Client.File