SchemaComparisonResult.PublishChangesToTarget 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
PublishChangesToTarget() |
Obsolete.
Generates and then executes a T-SQL update script that makes the target schema consistent with the source schema. |
PublishChangesToTarget(CancellationToken) |
Obsolete.
Generates and then executes a T-SQL update script that makes the target schema consistent with the source schema. |
PublishChangesToTarget()
Caution
PublishChangesToTarget is deprecated, please use PublishChangesToDatabase instead.
Generates and then executes a T-SQL update script that makes the target schema consistent with the source schema.
public Microsoft.SqlServer.Dac.Compare.SchemaComparePublishResult PublishChangesToTarget ();
[System.Obsolete("PublishChangesToTarget is deprecated, please use PublishChangesToDatabase instead.")]
public Microsoft.SqlServer.Dac.Compare.SchemaComparePublishResult PublishChangesToTarget ();
member this.PublishChangesToTarget : unit -> Microsoft.SqlServer.Dac.Compare.SchemaComparePublishResult
[<System.Obsolete("PublishChangesToTarget is deprecated, please use PublishChangesToDatabase instead.")>]
member this.PublishChangesToTarget : unit -> Microsoft.SqlServer.Dac.Compare.SchemaComparePublishResult
Public Function PublishChangesToTarget () As SchemaComparePublishResult
Returns
- Attributes
Applies to
PublishChangesToTarget(CancellationToken)
Caution
PublishChangesToTarget is deprecated, please use PublishChangesToDatabase instead.
Generates and then executes a T-SQL update script that makes the target schema consistent with the source schema.
public Microsoft.SqlServer.Dac.Compare.SchemaComparePublishResult PublishChangesToTarget (System.Threading.CancellationToken cancellationToken);
[System.Obsolete("PublishChangesToTarget is deprecated, please use PublishChangesToDatabase instead.")]
public Microsoft.SqlServer.Dac.Compare.SchemaComparePublishResult PublishChangesToTarget (System.Threading.CancellationToken cancellationToken);
member this.PublishChangesToTarget : System.Threading.CancellationToken -> Microsoft.SqlServer.Dac.Compare.SchemaComparePublishResult
[<System.Obsolete("PublishChangesToTarget is deprecated, please use PublishChangesToDatabase instead.")>]
member this.PublishChangesToTarget : System.Threading.CancellationToken -> Microsoft.SqlServer.Dac.Compare.SchemaComparePublishResult
Public Function PublishChangesToTarget (cancellationToken As CancellationToken) As SchemaComparePublishResult
Parameters
- cancellationToken
- CancellationToken
cancellation token to cancel this operation
Returns
- Attributes