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.