SchemaComparisonResult.PublishChangesToDatabase 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.
Overloads
PublishChangesToDatabase() |
Generates and then executes a T-SQL update script that makes the target database schema consistent with the source schema. |
PublishChangesToDatabase(CancellationToken) |
Generates and then executes a T-SQL update script that makes the target database schema consistent with the source schema. |
PublishChangesToDatabase()
Generates and then executes a T-SQL update script that makes the target database schema consistent with the source schema.
public Microsoft.SqlServer.Dac.Compare.SchemaComparePublishResult PublishChangesToDatabase ();
member this.PublishChangesToDatabase : unit -> Microsoft.SqlServer.Dac.Compare.SchemaComparePublishResult
Public Function PublishChangesToDatabase () As SchemaComparePublishResult
Returns
Applies to
PublishChangesToDatabase(CancellationToken)
Generates and then executes a T-SQL update script that makes the target database schema consistent with the source schema.
public Microsoft.SqlServer.Dac.Compare.SchemaComparePublishResult PublishChangesToDatabase (System.Threading.CancellationToken cancellationToken);
member this.PublishChangesToDatabase : System.Threading.CancellationToken -> Microsoft.SqlServer.Dac.Compare.SchemaComparePublishResult
Public Function PublishChangesToDatabase (cancellationToken As CancellationToken) As SchemaComparePublishResult
Parameters
- cancellationToken
- CancellationToken
cancellation token to cancel this operation