CopyTo méthode
Copies the collection to a single dimension array starting at the indicated index.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub CopyTo ( _
array As WorkloadGroup(), _
index As Integer _
)
'Utilisation
Dim instance As WorkloadGroupCollection
Dim array As WorkloadGroup()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
WorkloadGroup[] array,
int index
)
public:
void CopyTo(
array<WorkloadGroup^>^ array,
int index
)
member CopyTo :
array:WorkloadGroup[] *
index:int -> unit
public function CopyTo(
array : WorkloadGroup[],
index : int
)
Paramètres
- array
Type : array<Microsoft.SqlServer.Management.Smo. . :: . .WorkloadGroup> [] () [] []
Array
- index
Type : System. . :: . .Int32
Int32