Свойство DataSourcePermissionCollection.Item (Int32)
Gets the DataSourcePermission at the specified index from the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public ReadOnly Default Property Item ( _
index As Integer _
) As DataSourcePermission
Get
'Применение
Dim instance As DataSourcePermissionCollection
Dim index As Integer
Dim value As DataSourcePermission
value = instance(index)
public DataSourcePermission this[
int index
] { get; }
public:
property DataSourcePermission^ default[int index] {
DataSourcePermission^ get (int index);
}
member Item : DataSourcePermission
JScript поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- index
Тип: System.Int32
The zero-based index of the DataSourcePermission to be returned.
Значение свойства
Тип: Microsoft.AnalysisServices.DataSourcePermission
The DataSourcePermission at the specified index.
Исключения
Исключение | Условие |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |