SynchronizationUpdateErrorInfoCollection.IndexOf Method (SynchronizationUpdateErrorInfo)
Applies To: Windows Server Update Services
Determines whether the collection contains the specified update error information. If the collection contains the update error information, the method returns the zero-based index to the update error information in the collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public int IndexOf(
SynchronizationUpdateErrorInfo value
)
public:
int IndexOf(
SynchronizationUpdateErrorInfo^ value
)
member IndexOf :
value:SynchronizationUpdateErrorInfo -> int
Public Function IndexOf (
value As SynchronizationUpdateErrorInfo
) As Integer
Parameters
value
Type: Microsoft.UpdateServices.Administration.SynchronizationUpdateErrorInfoAn ISubscriptionEvent of the update error information to locate in the collection.
Return Value
Type: System.Int32
Zero-based index of the update error information in the collection if found; otherwise, -1.
See Also
IndexOf Overload
SynchronizationUpdateErrorInfoCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top