CertificateCollection.CopyTo Method (Certificate , Int32)

 

Applies To: SQL Server 2016 Preview

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

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

Syntax

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

Parameters

  • index
    Type: System.Int32

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

Examples

Legacy Code Example

Using Collections

See Also

CertificateCollection Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top