共用方式為


GetReferences 方法

Gets the objects that the cube references.

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

語法

'宣告
Public Overrides Function GetReferences ( _
    references As Hashtable, _
    forMajorChildrenAlso As Boolean _
) As Hashtable
'用途
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

參數

傳回值

型別:System.Collections. . :: . .Hashtable
The referencesHashtable with objects that the cube references appended.

備註

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.