CopyTo 方法
将集合对象复制到以指定索引值开头的一维数组。
命名空间: Microsoft.SqlServer.Management.Smo.Broker
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub CopyTo ( _
array As ServiceQueue(), _
index As Integer _
)
用法
Dim instance As ServiceQueueCollection
Dim array As ServiceQueue()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
ServiceQueue[] array,
int index
)
public:
void CopyTo(
array<ServiceQueue^>^ array,
int index
)
member CopyTo :
array:ServiceQueue[] *
index:int -> unit
public function CopyTo(
array : ServiceQueue[],
index : int
)
参数
- array
类型:array<Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceQueue> [] () [] []
ServiceQueue 对象的数组。
- index
类型:System. . :: . .Int32
一个 Int32 值,指定复制起始位置的索引值。