Método IndexOf (DataSourcePermission)
Gets the index of a specified DataSourcePermission.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
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 de retorno
Tipo: System. . :: . .Int32
The zero-based index of the DataSourcePermission if the object is found; otherwise, -1.
Consulte também