SqlAssemblyFileCollection.CopyTo Method (SqlAssemblyFile , Int32)

 

Applies To: SQL Server 2016 Preview

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

public void CopyTo(
    SqlAssemblyFile[] array,
    int index
)
public:
void CopyTo(
    array<SqlAssemblyFile^>^ array,
    int index
)
member CopyTo : 
        array:SqlAssemblyFile[] *
        index:int -> unit
Public Sub CopyTo (
    array As SqlAssemblyFile(),
    index As Integer
)

Parameters

  • index
    Type: System.Int32

    An Int32 value that specifies the index value from where to start the copy.

Examples

Legacy Code Example

Using Collections

See Also

SqlAssemblyFileCollection Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top