Share via


CubeCollection.CopyTo Method

Copies the elements of the collection to the specified array.

Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As CubeDef(), _
    index As Integer _
)
public void CopyTo (
    CubeDef[] array,
    int index
)
public:
void CopyTo (
    array<CubeDef^>^ array, 
    int index
)
public void CopyTo (
    CubeDef[] array, 
    int index
)
public function CopyTo (
    array : CubeDef[], 
    index : int
)

Parameters

  • array
    An instance of a one-dimensional Array in which to copy the elements of the collection. The Array must have zero-based indexing.
  • index
    The zero-based index at which to begin copying.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

CubeCollection Class
CubeCollection Members
Microsoft.AnalysisServices.AdomdServer Namespace