Udostępnij przez


DependencyCollection.CopyTo Method

Copies the collection objects to a one-dimensional array beginning at the index value specified.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Sub CopyTo ( _
    array As DependencyCollectionNode(), _
    arrayIndex As Integer _
)
public void CopyTo (
    DependencyCollectionNode[] array,
    int arrayIndex
)
public:
virtual void CopyTo (
    array<DependencyCollectionNode^>^ array, 
    int arrayIndex
) sealed
public final void CopyTo (
    DependencyCollectionNode[] array, 
    int arrayIndex
)
public final function CopyTo (
    array : DependencyCollectionNode[], 
    arrayIndex : int
)

Parameters

  • arrayIndex

Example

Scripting

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.

Target Platforms

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