Partager via


Clone (clsDataSource)

[!REMARQUE]

  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

The Clone method of an object of ClassType clsDataSource copies the property values and the collections of a data source object to a target data source object.

Syntaxe

object.Clone(ByVal TargetObject As ICommon, Optional ByVal Options As CloneOptions = cloneMajorChildren)

Paramètres

  • object
    The object of ClassType clsDataSource to be copied.

  • TargetObject
    An existing object of ClassType clsDataSource.

  • Options
    One of the values in the CloneOptions enumeration. If no value is specified, the cloneMajorChildren option is used. Because objects of ClassType clsDataSource contain no major or minor objects, the entire object is cloned regardless of the option specified. For more information, see CloneOptions.

Voir aussi

Référence