Share via


SchemaComparisonResult.PublishChangesToDatabase Method

Definition

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

Returns

Applies to