Date at which the portal expires
Namespace: DotNetNuke.Entities.PortalsAssembly: 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 portalReturn Value
Date of expiration of the portal
Remarks
Examples
This show the Portal expiration date usage
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 | |