Share via


SubscriptionEventCollection.IndexOf Method (ISubscriptionEvent)

 

Applies To: Windows Server Update Services

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

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

Syntax

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

Parameters

Return Value

Type: System.Int32

Zero-based index of the subscription event in the collection if found; otherwise, -1.

See Also

IndexOf Overload
SubscriptionEventCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top