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

InformationManagementExtensions.GetSiteExpirationDate Method

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

Gets the site expiration date

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

Syntax

public static DateTime GetSiteExpirationDate(this Web web)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Web to operate on

Return Value

Type: DateTime
DateTime value holding the expiration date, DateTime.MinValue in case there was no policy applied

See also

© 2018 Microsoft