Clone (MDStore Interface)

ms132821.note(zh-cn,SQL.90).gif注意:
  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

The Clone method of the MDStore interface copies the property values and optionally the collections of major and minor objects of an existing object to a target object of the same class type.

Applies To:clsAggregation, clsCube, clsDatabase, clsPartition

语法

object.Clone(ByVal TargetObject As MDStore, [ByVal Options As CloneOptions = cloneMajorChildren])

参数

  • object
    The MDStore object whose property values and collections of major and minor objects are to be copied.
  • TargetObject
    An existing MDStore object.
  • Options
    One of the values of the CloneOptions enumeration. If no value is specified, the cloneMajorChildren option is used. For more information, see CloneOptions.

备注

The Clone method, depending on the clone option specified in Options, copies properties and minor objects to a new MDStore object with the same ClassType property value.

请参阅

参考

MDStore Interface

帮助和信息

获取 SQL Server 2005 帮助