HierarchyCollection.Add 方法 (String, Boolean)
Creates and adds a Hierarchy, with the specified name, to the end of the collection.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Function Add ( _
name As String, _
updateDependents As Boolean _
) As Hierarchy
用法
Dim instance As HierarchyCollection
Dim name As String
Dim updateDependents As Boolean
Dim returnValue As Hierarchy
returnValue = instance.Add(name, updateDependents)
public Hierarchy Add(
string name,
bool updateDependents
)
public:
Hierarchy^ Add(
String^ name,
bool updateDependents
)
member Add :
name:string *
updateDependents:bool -> Hierarchy
public function Add(
name : String,
updateDependents : boolean
) : Hierarchy
参数
- name
类型:System.String
The name of the Hierarchy to be added.
- updateDependents
类型:System.Boolean
Indicates whether the dependents of the Hierarchy should be updated.
返回值
类型:Microsoft.AnalysisServices.Hierarchy
A new, empty Hierarchy.