Add-Methode (String, Boolean)
Creates and adds a CubeHierarchy, with the specified identifier, to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
hierarchyId As String, _
updateDependents As Boolean _
) As CubeHierarchy
'Usage
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
Parameter
- hierarchyId
Typ: System. . :: . .String
- updateDependents
Typ: System. . :: . .Boolean
Indicates whether the dependents of the CubeHierarchy should be updated.
Rückgabewert
Typ: Microsoft.AnalysisServices. . :: . .CubeHierarchy
A new, empty CubeHierarchy.
Siehe auch