Метод DimensionPermissionCollection.IndexOf (DimensionPermission)
Gets the index of a specified DimensionPermission.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function IndexOf ( _
item As DimensionPermission _
) As Integer
'Применение
Dim instance As DimensionPermissionCollection
Dim item As DimensionPermission
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
DimensionPermission item
)
public:
int IndexOf(
DimensionPermission^ item
)
member IndexOf :
item:DimensionPermission -> int
public function IndexOf(
item : DimensionPermission
) : int
Параметры
- item
Тип: Microsoft.AnalysisServices.DimensionPermission
The DimensionPermission to be returned.
Возвращаемое значение
Тип: System.Int32
The zero-based index of the DimensionPermission if the object is found; otherwise, -1.