Compartilhar via


Propriedade do RDL RestoreLocationCollection.Item

Gets the RestoreLocation at the specified index from the collection.

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

Sintaxe

'Declaração
Public Default Property Item ( _
    index As Integer _
) As RestoreLocation 
    Get 
    Set
'Uso
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
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

Tipo: Microsoft.AnalysisServices.RestoreLocation
The RestoreLocation at the specified index.

Exceções

Exceção Condição
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

Consulte também

Referência

RestoreLocationCollection Classe

Namespace Microsoft.AnalysisServices