CopyTo-Methode
Kopiert die Auflistungsobjekte ab dem angegebenen Indexwert in ein eindimensionales Array.
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As ServiceQueue(), _
index As Integer _
)
'Usage
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
)
Parameter
- array
Typ: array<Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceQueue> [] () [] []
Ein Array von ServiceQueue-Objekten.
- index
Typ: System. . :: . .Int32
Ein Int32-Wert, der den Indexwert festlegt, ab dem der Kopiervorgang gestartet werden soll.
Siehe auch