CopyTo Método
Copia los objetos de la colección en una matriz unidimensional comenzando por el valor de índice especificado.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Broker
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub CopyTo ( _
array As ServiceQueue(), _
index As Integer _
)
'Uso
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
)
Parámetros
- array
Tipo: array<Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceQueue> [] () [] []
Matriz de objetos ServiceQueue.
- index
Tipo: System. . :: . .Int32
Valor Int32 que especifica el valor de índice desde el que se va a comenzar la copia.
Vea también