Sdílet prostřednictvím


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 dimension permission depends on an object.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Function DependsOn ( _
    obj As IMajorObject _
) As Boolean
'Usage
Dim instance As IMajorObject 
Dim obj As IMajorObject 
Dim returnValue As Boolean 

returnValue = instance.DependsOn(obj)
bool DependsOn(
    IMajorObject obj
)
bool DependsOn(
    IMajorObject^ obj
)
abstract DependsOn : 
        obj:IMajorObject -> bool
function DependsOn(
    obj : IMajorObject
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the dimension permission depends on an object; otherwise, false.

See Also

Reference

IMajorObject Interface

Microsoft.AnalysisServices Namespace