Share via


SPContentDatabase.WarningSiteCount property

Gets or sets the number of sites that can be created before a warning event is generated and the owner of the site collection is notified.

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

Syntax

'Declaration
Public Property WarningSiteCount As Integer
    Get
    Set
'Usage
Dim instance As SPContentDatabase
Dim value As Integer

value = instance.WarningSiteCount

instance.WarningSiteCount = value
public int WarningSiteCount { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the number of sites that can be created before the warning is generated.

See also

Reference

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace