Export (0) Print
Expand All

LoginCollection.CopyTo Method (Login[], 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)

public void CopyTo(
	Login[] array,
	int index
)

Parameters

array
Type: Microsoft.SqlServer.Management.Smo.Login[]

An array of Login objects.

index
Type: System.Int32

An Int32 value that specifies the position in the collection from which to start the copy.

Legacy Code Example

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft