Udostępnij przez


PlanGuideCollection.CopyTo Method

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)

Syntax

'Deklaracja
Public Sub CopyTo ( _
    array As PlanGuide(), _
    index As Integer _
)
public void CopyTo (
    PlanGuide[] array,
    int index
)
public:
void CopyTo (
    array<PlanGuide^>^ array, 
    int index
)
public void CopyTo (
    PlanGuide[] array, 
    int index
)
public function CopyTo (
    array : PlanGuide[], 
    index : int
)

Parameters

  • array
    Array object of Type PlanGuide[]
  • index
    Integer index indicating the starting position in the target array.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.