共用方式為


CopyTo 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub CopyTo ( _
    array As ResourcePool(), _
    index As Integer _
)
'用途
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
)

參數