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

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