SchemaComparisonResult.GetDiffEntrySourceScript(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 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