WorkloadGroupCollection.CopyTo Method
Copies the collection to a single dimension array starting at the indicated index.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As WorkloadGroup(), _
index As Integer _
)
'Usage
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
)
Parameters
- array
Type: array<Microsoft.SqlServer.Management.Smo.WorkloadGroup[]
Array
- index
Type: System.Int32
Int32
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace