TableCollection.CopyTo Method (Table , Int32)
Applies To: SQL Server 2016 Preview
Copies the collection of 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(
Table[] array,
int index
)
public:
void CopyTo(
array<Table^>^ array,
int index
)
member CopyTo :
array:Table[] *
index:int -> unit
Public Sub CopyTo (
array As Table(),
index As Integer
)
Parameters
array
Type: Microsoft.SqlServer.Management.Smo.Table[]An array of Table objects.
index
Type: System.Int32An Int32 value that specifies the index value in the collection to start copying.
Examples
Legacy Code Example
See Also
TableCollection Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top