JsonScripter.ScriptMergePartitions(Partition, IEnumerable<Partition>) 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.
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
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.