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