DatabasePermission.IMajorObject.DependsOn 方法
Determines whether the DatabasePermission 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 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 支持使用显式接口实现,但不支持声明新显式接口实现。
参数
- obj
类型:Microsoft.AnalysisServices.IMajorObject
The object to depend on.
返回值
类型:System.Boolean
true if the DatabasePermission depends on an object; otherwise, false.
实现
IMajorObject.DependsOn(IMajorObject)