共用方式為


Clone (clsDataSource)

ms133825.note(zh-tw,SQL.90).gif附註:
  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

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.

語法

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

參數

  • 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.

請參閱

參考

clsDataSource

說明及資訊

取得 SQL Server 2005 協助