Database.CopyTo Method (Database)
Copies a Database object to the specified object.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function CopyTo ( _
obj As Database _
) As Database
'Usage
Dim instance As Database
Dim obj As Database
Dim returnValue As Database
returnValue = instance.CopyTo(obj)
public Database CopyTo(
Database obj
)
public:
Database^ CopyTo(
Database^ obj
)
member CopyTo :
obj:Database -> Database
public function CopyTo(
obj : Database
) : Database
Parameters
- obj
Type: Microsoft.AnalysisServices.Database
The object to be copied to.
Return Value
Type: Microsoft.AnalysisServices.Database
The object copied to.