Compartilhar via


Método Add

Adds a QueryNotification to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    item As QueryNotification _
) As Integer
'Uso
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

Valor de retorno

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