DataSourcePermissionCollection.IndexOf Método (DataSourcePermission)
Gets the index of a specified DataSourcePermission.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function IndexOf ( _
item As DataSourcePermission _
) As Integer
'Uso
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
Parámetros
- item
Tipo: Microsoft.AnalysisServices.DataSourcePermission
The DataSourcePermission to be returned.
Valor devuelto
Tipo: System.Int32
The zero-based index of the DataSourcePermission if the object is found; otherwise, -1.