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
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- id
Type: System.Guid
- stopRedirect
Type: System.Boolean
Return value
Type: Microsoft.SharePoint.Client.ClientResult<String>