Share via


File.GetPreAuthorizedAccessUrl method

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Function GetPreAuthorizedAccessUrl ( _
    expirationHours As Integer _
) As ClientResult(Of String)
'Usage
Dim instance As File
Dim expirationHours As Integer
Dim returnValue As ClientResult(Of String)

returnValue = instance.GetPreAuthorizedAccessUrl(expirationHours)
public ClientResult<string> GetPreAuthorizedAccessUrl(
    int expirationHours
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<String>

See also

Reference

File class

File members

Microsoft.SharePoint.Client namespace