SchemaComparisonResult.GetDiffEntryTargetScript(SchemaDifference) 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.
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