Share via


Site.Exists method

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

Syntax

'Declaration
Public Shared Function Exists ( _
    context As ClientRuntimeContext, _
    url As String _
) As ClientResult(Of Boolean)
'Usage
Dim context As ClientRuntimeContext
Dim url As String
Dim returnValue As ClientResult(Of Boolean)

returnValue = Site.Exists(context, _
    url)
public static ClientResult<bool> Exists(
    ClientRuntimeContext context,
    string url
)

Parameters

Return value

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

See also

Reference

Site class

Site members

Microsoft.SharePoint.Client namespace