Share via


SchemaComparisonResult.GetDiffEntrySourceScript(SchemaDifference) Method

Definition

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

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

Parameters

diff
SchemaDifference

SchemaDifference to get the source script of

Returns

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

Applies to