SymmetricKeyCollection.CopyTo(SymmetricKey[], Int32) SymmetricKeyCollection.CopyTo(SymmetricKey[], Int32) SymmetricKeyCollection.CopyTo(SymmetricKey[], Int32) Method

Definition

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

public:
 void CopyTo(cli::array <Microsoft::SqlServer::Management::Smo::SymmetricKey ^> ^ array, int index);
public void CopyTo (Microsoft.SqlServer.Management.Smo.SymmetricKey[] array, int index);
Public Sub CopyTo (array As SymmetricKey(), index As Integer)
Parameters
array
SymmetricKey[]

An array of SymmetricKey objects.

index
Int32 Int32 Int32

An Int32 value that specifies the index value in the collection to start copying.

Examples

Using Collections

Applies to