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)
Available in Sandboxed Solutions: No

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