Aracılığıyla paylaş


DimensionPermissionCollection.IndexOf Yöntemi (DimensionPermission)

Belirtilen dizin alır DimensionPermission.

Ad Alanı:  Microsoft.AnalysisServices
Derleme:  Microsoft.AnalysisServices (Microsoft.AnalysisServices içinde.dll)

Sözdizimi

'Bildirim
Public Function IndexOf ( _
    item As DimensionPermission _
) As Integer
'Kullanım
Dim instance As DimensionPermissionCollection
Dim item As DimensionPermission
Dim returnValue As Integer

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

Dönüş Değeri

Tür: System.Int32
Sıfır tabanlı dizini DimensionPermission , nesne bulunabilir; Aksi takdirde, -1.