JsonScripter.ScriptMergePartitions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Scripts out a given tabular target partition and set of source partitions into a MergePartitions command.
public static string ScriptMergePartitions (Microsoft.AnalysisServices.Tabular.Partition targetPartition, System.Collections.Generic.IEnumerable<Microsoft.AnalysisServices.Tabular.Partition> sourcePartitions);
static member ScriptMergePartitions : Microsoft.AnalysisServices.Tabular.Partition * seq<Microsoft.AnalysisServices.Tabular.Partition> -> string
Public Shared Function ScriptMergePartitions (targetPartition As Partition, sourcePartitions As IEnumerable(Of Partition)) As String
Parameters
- targetPartition
- Partition
The target partition.
- sourcePartitions
- IEnumerable<Partition>
The set of source partitions.
Returns
A String containing the MergePartitions command.
Remarks
The target partition must have a parent Database; the target partition and all source partitions must belong to the same table.