共用方式為


CopyTo 方法

Copies the collection to a single dimension array starting at the indicated index.

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

語法

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

參數