Cube.IMajorObject.DependsOn 方法
Determines whether the Cube depends on an object.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Private Function DependsOn ( _
obj As IMajorObject _
) As Boolean Implements IMajorObject.DependsOn
'用途
Dim instance As Cube
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 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- obj
型別:Microsoft.AnalysisServices.IMajorObject
The object to depend on.
傳回值
型別:System.Boolean
true if the Cube depends on an object; otherwise, false.
實作
IMajorObject.DependsOn(IMajorObject)