Trace.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 trace 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 Trace 
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

Return Value

Type: System.Boolean
true if the trace depends on an object; otherwise, false.

Implements

IMajorObject.DependsOn(IMajorObject)

See Also

Reference

Trace Class

Microsoft.AnalysisServices Namespace