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

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