Compartilhar via


Método MiningStructurePermissionCollection.IndexOf (MiningStructurePermission)

Gets the index of a specified MiningStructurePermission.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function IndexOf ( _
    item As MiningStructurePermission _
) As Integer
'Uso
Dim instance As MiningStructurePermissionCollection 
Dim item As MiningStructurePermission 
Dim returnValue As Integer 

returnValue = instance.IndexOf(item)
public int IndexOf(
    MiningStructurePermission item
)
public:
int IndexOf(
    MiningStructurePermission^ item
)
member IndexOf : 
        item:MiningStructurePermission -> int
public function IndexOf(
    item : MiningStructurePermission
) : int

Parâmetros

Valor de retorno

Tipo: System.Int32
The zero-based index of the MiningStructurePermission if the object is found; otherwise, -1.

Consulte também

Referência

MiningStructurePermissionCollection Classe

Sobrecarregado IndexOf

Namespace Microsoft.AnalysisServices