DataSourcePermissionCollection.IndexOf-Methode (DataSourcePermission)
Gets the index of a specified DataSourcePermission.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function IndexOf ( _
item As DataSourcePermission _
) As Integer
'Usage
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
Parameter
- item
Typ: Microsoft.AnalysisServices.DataSourcePermission
The DataSourcePermission to be returned.
Rückgabewert
Typ: System.Int32
The zero-based index of the DataSourcePermission if the object is found; otherwise, -1.