Udostępnij za pośrednictwem


Właściwość RestoreLocationCollection.Item

Pobiera RestoreLocation pod określonym indeksem z kolekcja.

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
Public Default Property Item ( _
    index As Integer _
) As RestoreLocation
    Get
    Set
'Użycie
Dim instance As RestoreLocationCollection
Dim index As Integer
Dim value As RestoreLocation

value = instance(index)

instance(index) = value
public RestoreLocation this[
    int index
] { get; set; }
public:
property RestoreLocation^ default[int index] {
    RestoreLocation^ get (int index);
    void set (int index, RestoreLocation^ value);
}
member Item : RestoreLocation with get, set
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.

Parametry

Wartość właściwości

Typ: Microsoft.AnalysisServices.RestoreLocation
RestoreLocation Pod określonym indeksem.

Wyjątki

Wyjątek Warunek
ArgumentOutOfRangeException

indexjest mniejszy od zera.

- lub -

indexjest równa lub większa niż Count.