Share via


Command.CopyTo Method

Copies a Command to the specified object.

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

Syntax

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

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

Parameters

Return Value

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