QueryNotificationCollection.IndexOf(QueryNotification) Method

Definition

Searches for the specified QueryNotification and returns its zero-based index within the collection.

public int IndexOf (Microsoft.AnalysisServices.QueryNotification item);
member this.IndexOf : Microsoft.AnalysisServices.QueryNotification -> int
Public Function IndexOf (item As QueryNotification) As Integer

Parameters

item
QueryNotification

The QueryNotification to locate.

Returns

The zero-based index of the QueryNotification in the collection, if found; otherwise, -1.

Applies to