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
- item
Tipo: Microsoft.AnalysisServices.MiningStructurePermission
The MiningStructurePermission to return.
Valor de retorno
Tipo: System.Int32
The zero-based index of the MiningStructurePermission if the object is found; otherwise, -1.