Delen via


QueryNotificationCollection.Add Method

Adds a QueryNotification to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As QueryNotification _
) As Integer
'Usage
Dim instance As QueryNotificationCollection 
Dim item As QueryNotification 
Dim returnValue As Integer 

returnValue = instance.Add(item)
public int Add(
    QueryNotification item
)
public:
int Add(
    QueryNotification^ item
)
member Add : 
        item:QueryNotification -> int
public function Add(
    item : QueryNotification
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index at which the QueryNotification has been added.

See Also

Reference

QueryNotificationCollection Class

Microsoft.AnalysisServices Namespace