ResourcePoolCollection.CopyTo Method
Copies a Resource Pool Collection to an array. The copy to the array starts at the array position indicated by the integer parameter.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As ResourcePool(), _
index As Integer _
)
'Usage
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
)
Parameters
- array
Type: array<Microsoft.SqlServer.Management.Smo.ResourcePool[]
Array
- index
Type: System.Int32
Int32
See Also