Aracılığıyla paylaş


DataSourcePermissionCollection.IndexOf Yöntemi (DataSourcePermission)

Belirtilen dizin alır DataSourcePermission.

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

Sözdizimi

'Bildirim
Public Function IndexOf ( _
    item As DataSourcePermission _
) As Integer
'Kullanım
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

Dönüş Değeri

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