PlanGuideCollection.CopyTo Method (PlanGuide[], Int32)

 

Copies all the items from a plan guide collection to a compatible one-dimensional array of objects, starting at the specified index in the target array.

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

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

Parameters

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

The destination of the elements copied from the collection.

index
Type: System.Int32

An T:System.Integer index indicating the starting position in the target array.

Return to top
Show: