共用方式為


CopyTo 方法 (PhysicalPartition[], Int32, Int32)

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

語法

'宣告
Public Sub CopyTo ( _
    array As PhysicalPartition(), _
    partitionNumberStart As Integer, _
    partitionNumberEnd As Integer _
)
'用途
Dim instance As PhysicalPartitionCollection
Dim array As PhysicalPartition()
Dim partitionNumberStart As Integer
Dim partitionNumberEnd As Integer

instance.CopyTo(array, partitionNumberStart, _
    partitionNumberEnd)
public void CopyTo(
    PhysicalPartition[] array,
    int partitionNumberStart,
    int partitionNumberEnd
)
public:
void CopyTo(
    array<PhysicalPartition^>^ array, 
    int partitionNumberStart, 
    int partitionNumberEnd
)
member CopyTo : 
        array:PhysicalPartition[] * 
        partitionNumberStart:int * 
        partitionNumberEnd:int -> unit 
public function CopyTo(
    array : PhysicalPartition[], 
    partitionNumberStart : int, 
    partitionNumberEnd : int
)

參數