Database.IMajorObject.DependsOn Method
Determines whether the Database depends on an object.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Private Function DependsOn ( _
obj As IMajorObject _
) As Boolean Implements IMajorObject.DependsOn
'Usage
Dim instance As Database
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- obj
Type: Microsoft.AnalysisServices.IMajorObject
The object to depend on.
Return Value
Type: System.Boolean
true if the Database depends on an object; otherwise, false.
Implements
IMajorObject.DependsOn(IMajorObject)