Поделиться через


Метод PlanGuideCollection.CopyTo

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.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub CopyTo ( _
    array As PlanGuide(), _
    index As Integer _
)
'Применение
Dim instance As PlanGuideCollection 
Dim array As PlanGuide()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    PlanGuide[] array,
    int index
)
public:
void CopyTo(
    array<PlanGuide^>^ array, 
    int index
)
member CopyTo : 
        array:PlanGuide[] * 
        index:int -> unit
public function CopyTo(
    array : PlanGuide[], 
    index : int
)

Параметры

  • index
    Тип: System.Int32
    Integer index indicating the starting position in the target array.

См. также

Справочник

PlanGuideCollection Класс

Пространство имен Microsoft.SqlServer.Management.Smo