CopyTo 方法 (PhysicalPartition[], Int32, Int32)
Copies the collection objects to a one-dimensional array, starting and ending with the specified partition numbers.
命名空间: 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
)
参数
- array
类型:array<Microsoft.SqlServer.Management.Smo. . :: . .PhysicalPartition> [] () [] []
An array of PhysicalPartition objects.
- partitionNumberStart
类型:System. . :: . .Int32
An Int32 value that specifies the index value from where to start the copy.
- partitionNumberEnd
类型:System. . :: . .Int32
An Int32 value that specifies the index value at which to end the copy.