Item 속성
Gets or sets the BackupLocation at the specified index from the collection.
네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices.dll의 Microsoft.AnalysisServices
구문
‘선언
Public Default Property Item ( _
index As Integer _
) As BackupLocation
Get
Set
‘사용 방법
Dim instance As BackupLocationCollection
Dim index As Integer
Dim value As BackupLocation
value = instance(index)
instance(index) = value
public BackupLocation this[
int index
] { get; set; }
public:
property BackupLocation^ default[int index] {
BackupLocation^ get (int index);
void set (int index, BackupLocation^ value);
}
member Item : BackupLocation with get, set
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.
매개 변수
- index
형식: System. . :: . .Int32
The zero-based index of the BackupLocation to be returned.
속성 값
형식: Microsoft.AnalysisServices. . :: . .BackupLocation
The BackupLocation at the specified index.
예외
예외 | 조건 |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |