Verifies if there's enough space to upload a new file on the given portal
Namespace: DotNetNuke.Entities.PortalsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public bool HasSpaceAvailable( int portalId, long fileSizeBytes ) |
Visual Basic |
---|
Public Function HasSpaceAvailable ( portalId As Integer, fileSizeBytes As Long ) As Boolean |
Parameters
- portalId
- Type: System..::..Int32
Id of the portal
- fileSizeBytes
- Type: System..::..Int64
Size of the file being uploaded