Share via


SPMigratableSiteCollection.Count property

NOTE: This API is now obsolete.

Gets the number of site collections in the collection.

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

Syntax

'Declaration
<ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")> _
Public ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As SPMigratableSiteCollection
Dim value As Integer

value = instance.Count
[ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")]
public int Count { get; }

Property value

Type: System.Int32
A 32-bit integer that indicates the number of site collections.

Implements

ICollection<T>.Count

See also

Reference

SPMigratableSiteCollection class

SPMigratableSiteCollection members

Microsoft.SharePoint.Administration namespace