Add Método (String, Boolean)
Creates and adds a CubeHierarchy, with the specified identifier, to the end of the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function Add ( _
hierarchyId As String, _
updateDependents As Boolean _
) As CubeHierarchy
'Uso
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
Parámetros
- hierarchyId
Tipo: System. . :: . .String
- updateDependents
Tipo: System. . :: . .Boolean
Indicates whether the dependents of the CubeHierarchy should be updated.
Valor devuelto
Tipo: Microsoft.AnalysisServices. . :: . .CubeHierarchy
A new, empty CubeHierarchy.
Vea también