Share via


SchemaComparisonResult.GetDiffEntryTargetScript(SchemaDifference) Method

Definition

Gets the target script for the SchemaDifference from the SchemaComparisonResult, if there is one. SchemaDifferences with "Add" as the SchemaUpdateAction do not have a target script.

public string GetDiffEntryTargetScript (Microsoft.SqlServer.Dac.Compare.SchemaDifference diff);
member this.GetDiffEntryTargetScript : Microsoft.SqlServer.Dac.Compare.SchemaDifference -> string
Public Function GetDiffEntryTargetScript (diff As SchemaDifference) As String

Parameters

diff
SchemaDifference

SchemaDifference to get the target script of

Returns

Script of SchemaDifference. Returns an empty string if there is no target script for the SchemaDifference

Applies to