Dela via


Hierarchy.CopyTo Method (Hierarchy)

Copies a Hierarchy object to the specified object.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function CopyTo ( _
    obj As Hierarchy _
) As Hierarchy
'Usage
Dim instance As Hierarchy
Dim obj As Hierarchy
Dim returnValue As Hierarchy

returnValue = instance.CopyTo(obj)
public Hierarchy CopyTo(
    Hierarchy obj
)
public:
Hierarchy^ CopyTo(
    Hierarchy^ obj
)
member CopyTo : 
        obj:Hierarchy -> Hierarchy 
public function CopyTo(
    obj : Hierarchy
) : Hierarchy

Parameters

Return Value

Type: Microsoft.AnalysisServices.Hierarchy
The object copied to.