Share via


Area.ExpirationDate Property

NOTE: This API is now obsolete.

Gets or sets the date on which the area expires.

Namespace:  Microsoft.SharePoint.Portal.SiteData
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Property ExpirationDate As DateTime
    Get
    Set
'Usage
Dim instance As Area
Dim value As DateTime

value = instance.ExpirationDate

instance.ExpirationDate = value
[ObsoleteAttribute("This class is obsolete.")]
public DateTime ExpirationDate { get; set; }

Property Value

Type: System.DateTime
System.DateTime value that represents a date on which the area expires.

Remarks

The ExpirationDate property does not apply to Keyword areas or Keyword Best Bet listings.

See Also

Reference

Area Class

Area Members

Microsoft.SharePoint.Portal.SiteData Namespace