JsonScripter.ScriptMergePartitions(Partition, IEnumerable<Partition>) Method

Definition

Creates script to merge one or more partitions.

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

Target partition.

sourcePartitions
IEnumerable<Partition>

Sequence of source partitions.

Returns

String

System.String containing scripted MergePartitions command.

Remarks

The target partition must have a parent Database. The target partition and all source partitions must belong to the same table.

Applies to