Share via


QueryNotificationCollection.Item Property

Gets the QueryNotification at the specified index from the collection.

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

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As QueryNotification
    Get
    Set
'Usage
Dim instance As QueryNotificationCollection
Dim index As Integer
Dim value As QueryNotification

value = instance(index)

instance(index) = value
public QueryNotification this[
    int index
] { get; set; }
public:
property QueryNotification^ default[int index] {
    QueryNotification^ get (int index);
    void set (int index, QueryNotification^ value);
}
member Item : QueryNotification with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.AnalysisServices.QueryNotification
The QueryNotification at the specified index.

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.