Share via


Site.GetUrlById method

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

Syntax

'Declaration
Public Shared Function GetUrlById ( _
    context As ClientRuntimeContext, _
    id As Guid, _
    stopRedirect As Boolean _
) As ClientResult(Of String)
'Usage
Dim context As ClientRuntimeContext
Dim id As Guid
Dim stopRedirect As Boolean
Dim returnValue As ClientResult(Of String)

returnValue = Site.GetUrlById(context, _
    id, stopRedirect)
public static ClientResult<string> GetUrlById(
    ClientRuntimeContext context,
    Guid id,
    bool stopRedirect
)

Parameters

Return value

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

See also

Reference

Site class

Site members

Microsoft.SharePoint.Client namespace