共用方式為


IMajorObject.DependsOn 方法

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Private Function DependsOn ( _
    obj As IMajorObject _
) As Boolean Implements IMajorObject.DependsOn
'用途
Dim instance As Perspective
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 支援明確介面實作的使用,但不支援新介面實作的宣告。

傳回值

型別:System. . :: . .Boolean

實作

IMajorObject. . :: . .DependsOn(IMajorObject)