Méthode Contains (DataSourcePermission)
Indicates whether the collection contains a specified DataSourcePermission.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Contains ( _
item As DataSourcePermission _
) As Boolean
'Utilisation
Dim instance As DataSourcePermissionCollection
Dim item As DataSourcePermission
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
DataSourcePermission item
)
public:
bool Contains(
DataSourcePermission^ item
)
member Contains :
item:DataSourcePermission -> bool
public function Contains(
item : DataSourcePermission
) : boolean
Paramètres
- item
Type : Microsoft.AnalysisServices. . :: . .DataSourcePermission
The DataSourcePermission to be located.
Valeur de retour
Type : System. . :: . .Boolean
true if the DataSourcePermission is contained in the collection; otherwise, false.