Table of contents
TOC
Collapse the table of content
Expand the table of content

WebExtensions.WebExistsFullUrl Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Determines if a Web (site) exists at the specified full URL, either accessible or that returns an access error.

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static bool WebExistsFullUrl(this ClientRuntimeContext context, String webFullUrl)

Parameters

context

  Type: Microsoft.SharePoint.Client.ClientRuntimeContext
  Existing context, used to provide credentials.

webFullUrl

  Type: System.String
  Full URL of the site to check.

Return Value

Type: bool
true if the Web (site) exists; otherwise false

See also

© 2018 Microsoft