Méthode CopyTo

Copies a Resource Pool Collection to an array. The copy to the array starts at the array position indicated by the integer parameter.

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

Syntaxe

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

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

Paramètres