Share via


AdomdCommand.ICloneable.Clone Method

Creates a new object that is a copy of the current instance.

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

Syntax

'Declaration
Private Function Clone As Object Implements ICloneable.Clone
'Usage
Dim instance As AdomdCommand 
Dim returnValue As Object 

returnValue = CType(instance, ICloneable).Clone()
Object ICloneable.Clone()
private:
virtual Object^ Clone() sealed = ICloneable::Clone
private abstract Clone : unit -> Object  
private override Clone : unit -> Object
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.Object
A new object that is a copy of this instance.

Implements

ICloneable.Clone()

See Also

Reference

AdomdCommand Class

Microsoft.AnalysisServices.AdomdClient Namespace