Share via


SPWebApplication.MaxSizeForSelfServiceEvalSiteCreationMB property

Gets or sets the maximum size in MB of a site collection for which self-requesting and auto creation of evaluation sites is permitted.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property MaxSizeForSelfServiceEvalSiteCreationMB As Long
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Long

value = instance.MaxSizeForSelfServiceEvalSiteCreationMB

instance.MaxSizeForSelfServiceEvalSiteCreationMB = value
public long MaxSizeForSelfServiceEvalSiteCreationMB { get; set; }

Property value

Type: System.Int64
The maximum size in MB of a site collection.

Remarks

If a site collection is larger than this size, the request has to come from farm administrators. The default size is 100GB.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace