Server.IMajorObject.DependsOn Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Determines whether the server 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 Server
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 server depends on an object; otherwise, false.
Implements
IMajorObject.DependsOn(IMajorObject)