다음을 통해 공유


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

매개 변수

반환 값

유형: Microsoft.AnalysisServices. . :: . .Hierarchy
A new, empty Hierarchy.