SynchronizationUpdateErrorInfoCollection.CopyTo Method (SynchronizationUpdateErrorInfo , Int32)
Applies To: Windows Server Update Services
Copies the update error information in the collection to a one-dimensional array.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public void CopyTo(
SynchronizationUpdateErrorInfo[] array,
int index
)
public:
void CopyTo(
array<SynchronizationUpdateErrorInfo^>^ array,
int index
)
member CopyTo :
array:SynchronizationUpdateErrorInfo[] *
index:int -> unit
Public Sub CopyTo (
array As SynchronizationUpdateErrorInfo(),
index As Integer
)
Parameters
array
Type: Microsoft.UpdateServices.Administration.SynchronizationUpdateErrorInfo[]Array of SynchronizationUpdateErrorInfo found in the collection.
index
Type: System.Int32Zero-based index that specifies the location in the array at which to begin adding the update error information.
Exceptions
Exception
Condition
Can occur because of either of the following reasons:
index is greater than or equal to the length of the array.
The number of elements from index to the end of the array is less than the number of members in the collection.
array cannot be null.
array cannot be less than zero.
See Also
CopyTo Overload
SynchronizationUpdateErrorInfoCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top