Cube.GetReferences Method
Gets the objects that the cube references.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Overrides Function GetReferences ( _
references As Hashtable, _
forMajorChildrenAlso As Boolean _
) As Hashtable
'Usage
Dim instance As Cube
Dim references As Hashtable
Dim forMajorChildrenAlso As Boolean
Dim returnValue As Hashtable
returnValue = instance.GetReferences(references, _
forMajorChildrenAlso)
public override Hashtable GetReferences(
Hashtable references,
bool forMajorChildrenAlso
)
public:
virtual Hashtable^ GetReferences(
Hashtable^ references,
bool forMajorChildrenAlso
) override
abstract GetReferences :
references:Hashtable *
forMajorChildrenAlso:bool -> Hashtable
override GetReferences :
references:Hashtable *
forMajorChildrenAlso:bool -> Hashtable
public override function GetReferences(
references : Hashtable,
forMajorChildrenAlso : boolean
) : Hashtable
Parameters
- references
Type: System.Collections.Hashtable
The Hashtable to append references to.
- forMajorChildrenAlso
Type: System.Boolean
Determines whether Role objects for CubePermissions and external references for MeasureGroups are added to the Hashtable.
Return Value
Type: System.Collections.Hashtable
The referencesHashtable with objects that the cube references appended.
Remarks
The objects that the cube references can include the Parent database, the DataSourceView of the cube, the cube Dimensions, the Role objects for CubePermissions, and external references for MeasureGroups.