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

Return value

Type: Microsoft.SharePoint.Client.File

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace