Share via


RestoreLocationCollection.Item 속성

Gets the RestoreLocation at the specified index from the collection.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

구문

‘선언
Public Default Property Item ( _
    index As Integer _
) As RestoreLocation 
    Get 
    Set
‘사용 방법
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는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.

매개 변수

속성 값

유형: Microsoft.AnalysisServices.RestoreLocation
The RestoreLocation at the specified index.

예외

예외 조건
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

참고 항목

참조

RestoreLocationCollection 클래스

Microsoft.AnalysisServices 네임스페이스