Метод 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.