Share via


SPSiteSubscriptionSiteCollection.CopyTo method

Copies the elements of the collection to an array of SPSite objects.

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

Syntax

'Declaration
Public Sub CopyTo ( _
    array As SPSite(), _
    index As Integer _
)
'Usage
Dim instance As SPSiteSubscriptionSiteCollection
Dim array As SPSite()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    SPSite[] array,
    int index
)

Parameters

  • array
    Type: []

    The array of site collection objects to which to copy the collection of site subscription site collections.

  • index
    Type: System.Int32

    The zero-based index in the array at which to begin copying.

See also

Reference

SPSiteSubscriptionSiteCollection class

SPSiteSubscriptionSiteCollection members

Microsoft.SharePoint namespace