JsonScripter.ScriptMergePartitions 方法

定义

将给定的表格目标分区和源分区集脚本化为 MergePartitions 命令。

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

参数

targetPartition
Partition

目标分区。

sourcePartitions
IEnumerable<Partition>

源分区集。

返回

包含 String MergePartitions 命令的 。

注解

目标分区必须具有父数据库;目标分区和所有源分区必须属于同一个表。

适用于