Méthode DatabasePermission.IMajorObject.DependsOn
Determines whether the DatabasePermission depends on an object.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Private Function DependsOn ( _
obj As IMajorObject _
) As Boolean Implements IMajorObject.DependsOn
'Utilisation
Dim instance As DatabasePermission
Dim obj As IMajorObject
Dim returnValue As Boolean
returnValue = CType(instance, IMajorObject).DependsOn(obj)
bool IMajorObject.DependsOn(
IMajorObject obj
)
private:
virtual bool DependsOn(
IMajorObject^ obj
) sealed = IMajorObject::DependsOn
private abstract DependsOn :
obj:IMajorObject -> bool
private override DependsOn :
obj:IMajorObject -> bool
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- obj
Type : Microsoft.AnalysisServices.IMajorObject
The object to depend on.
Valeur de retour
Type : System.Boolean
true if the DatabasePermission depends on an object; otherwise, false.
Implémente
IMajorObject.DependsOn(IMajorObject)