QueryNotificationCollection.Add(QueryNotification) Methode

Definition

Fügt das angegebene QueryNotification-Objekt am Ende der Auflistung hinzu.

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

Parameter

item
QueryNotification

Das QueryNotification-Objekt, das hinzugefügt werden soll.

Gibt zurück

Der nullbasierte Index, an dem das QueryNotification-Objekt zur Collection hinzugefügt wurde.

Ausnahmen

Das angegebene Element ist ein NULL-Verweis („Nothing“ in Visual Basic).

Das angegebene Element ist bereits in der Collection vorhanden.

Gilt für: