Dela via


TableNotificationCollection.IndexOf Method

Gets the index of a specified TableNotification.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    item As TableNotification _
) As Integer
'Usage
Dim instance As TableNotificationCollection
Dim item As TableNotification
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf(
    TableNotification item
)
public:
int IndexOf(
    TableNotification^ item
)
member IndexOf : 
        item:TableNotification -> int 
public function IndexOf(
    item : TableNotification
) : int

Return Value

Type: System.Int32
The zero-based index of the TableNotification if the object is found; otherwise, -1.