共用方式為


SchemaComparison.Compare Method

Definition

Overloads

Compare()

Performs schema comparison, populating comparison results.

Compare(CancellationToken)

Performs schema comparison, populating comparison results.

Compare()

Performs schema comparison, populating comparison results.

public Microsoft.SqlServer.Dac.Compare.SchemaComparisonResult Compare ();
member this.Compare : unit -> Microsoft.SqlServer.Dac.Compare.SchemaComparisonResult
Public Function Compare () As SchemaComparisonResult

Returns

Applies to

Compare(CancellationToken)

Performs schema comparison, populating comparison results.

public Microsoft.SqlServer.Dac.Compare.SchemaComparisonResult Compare (System.Threading.CancellationToken cancellationToken);
member this.Compare : System.Threading.CancellationToken -> Microsoft.SqlServer.Dac.Compare.SchemaComparisonResult
Public Function Compare (cancellationToken As CancellationToken) As SchemaComparisonResult

Parameters

cancellationToken
CancellationToken

Cancellation token to send cancellation signal to the operation

Returns

Schema comparison result containing differences

Applies to