Partager via


SynchronizationInfoCollection.IndexOf Method (ISynchronizationInfo)

 

Applies To: Windows Server Update Services

Determines if the collection contains the specified synchronization information. If the collection contains the synchronization information, the method returns the zero-based index to the synchronization information in the collection.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

public int IndexOf(
    ISynchronizationInfo value
)
public:
int IndexOf(
    ISynchronizationInfo^ value
)
member IndexOf : 
        value:ISynchronizationInfo -> int
Public Function IndexOf (
    value As ISynchronizationInfo
) As Integer

Parameters

Return Value

Type: System.Int32

Zero-based index of the synchronization information in the collection if found; otherwise, -1.

See Also

IndexOf Overload
SynchronizationInfoCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top