Date at which the portal expires

Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
[XmlElementAttribute("expirydate")]
public DateTime ExpiryDate { get; set; }
Visual Basic
<XmlElementAttribute("expirydate")> 
Public Property ExpiryDate As DateTime
	Get
	Set

Field Value

Date of expiration of the portal

Return Value

Date of expiration of the portal

Remarks

Examples

This show the Portal expiration date usage
 Copy imageCopy Code
If Not Null.IsNull(objPortal.ExpiryDate) Then
    txtExpiryDate.Text = objPortal.ExpiryDate.ToShortDateString
End If
txtHostFee.Text = objPortal.HostFee.ToString
txtHostSpace.Text = objPortal.HostSpace.ToString
txtPageQuota.Text = objPortal.PageQuota.ToString
txtUserQuota.Text = objPortal.UserQuota.ToString

See Also