Condividi tramite


Clone (MDStore Interface)

[!NOTA]   Questa funzionalità verrà rimossa a partire dalla prossima versione di Microsoft SQL Server. Non utilizzare questa funzionalità in un nuovo progetto di sviluppo e modificare appena possibile le applicazioni in cui questa funzionalità viene utilizzata.

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

Sintassi

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

Parametri

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

Osservazioni

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.

Vedere anche

Riferimento

MDStore Interface

Guida in linea e informazioni

Assistenza su SQL Server 2005