Total disk space allowed for the portal (Mb). 0 means not limited

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

Syntax

C#
[XmlElementAttribute("hostspace")]
public int HostSpace { get; set; }
Visual Basic
<XmlElementAttribute("hostspace")> 
Public Property HostSpace As Integer
	Get
	Set

Field Value

Diskspace allowed for the portal

Return Value

Diskspace allowed for the portal

Remarks

Examples

This show the Portal HostSpaceusage
 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