Klon (clsDataSource)
Ostrzeżenie
Ta funkcja zostanie usunięta z następnej wersji programu Microsoft SQL Server. Nie należy stosować tej funkcji w nowych projektach oraz jak najszybciej należy zmodyfikować aplikacje, w których obecnie jest używana ta funkcja.
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.
Składnia
object.Clone(ByVal TargetObject As ICommon, Optional ByVal Options As CloneOptions = cloneMajorChildren)
Parametry
object
The object of ClassType clsDataSource to be copied.TargetObject
An existing object of ClassType clsDataSource.Options
Jedna z wartości w CloneOptions wyliczania.Jeśli nie określono wartości, cloneMajorChildren jest używana opcja.Because objects of ClassType clsDataSource contain no major or minor objects, the entire object is cloned regardless of the option specified.Aby uzyskać więcej informacji, zobacz CloneOptions.