Add 方法 (String, Boolean)
Creates and adds a CubeHierarchy, with the specified identifier, to the end of the collection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Function Add ( _
hierarchyId As String, _
updateDependents As Boolean _
) As CubeHierarchy
'用途
Dim instance As CubeHierarchyCollection
Dim hierarchyId As String
Dim updateDependents As Boolean
Dim returnValue As CubeHierarchy
returnValue = instance.Add(hierarchyId, _
updateDependents)
public CubeHierarchy Add(
string hierarchyId,
bool updateDependents
)
public:
CubeHierarchy^ Add(
String^ hierarchyId,
bool updateDependents
)
member Add :
hierarchyId:string *
updateDependents:bool -> CubeHierarchy
public function Add(
hierarchyId : String,
updateDependents : boolean
) : CubeHierarchy
參數
- hierarchyId
型別:System. . :: . .String
- updateDependents
型別:System. . :: . .Boolean
Indicates whether the dependents of the CubeHierarchy should be updated.
傳回值
型別:Microsoft.AnalysisServices. . :: . .CubeHierarchy
A new, empty CubeHierarchy.