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

TenantExtensions.IsSiteActive Method

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

Checks if a site collection is Active

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

Syntax

public static bool IsSiteActive(this Tenant tenant, String siteFullUrl)

Parameters

tenant

  Type: Microsoft.Online.SharePoint.TenantAdministration.Tenant
  A tenant object pointing to the context of a Tenant Administration site

siteFullUrl

  Type: System.String
  URL to the site collection

Return Value

Type: bool
True if active, false if not

See also

© 2018 Microsoft