Partager via


Méthode CopyTo

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub CopyTo ( _
    array As Alert(), _
    index As Integer _
)
'Utilisation
Dim instance As AlertCollection
Dim array As Alert()
Dim index As Integer

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

Paramètres

Notes

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.