Share via


ArmDataMigrationModelFactory.SchemaComparisonValidationResult Method

Definition

Initializes a new instance of SchemaComparisonValidationResult.

public static Azure.ResourceManager.DataMigration.Models.SchemaComparisonValidationResult SchemaComparisonValidationResult (Azure.ResourceManager.DataMigration.Models.SchemaComparisonValidationResultType schemaDifferences = default, Azure.ResourceManager.DataMigration.Models.ValidationError validationErrors = default, System.Collections.Generic.IReadOnlyDictionary<string,long> sourceDatabaseObjectCount = default, System.Collections.Generic.IReadOnlyDictionary<string,long> targetDatabaseObjectCount = default);
static member SchemaComparisonValidationResult : Azure.ResourceManager.DataMigration.Models.SchemaComparisonValidationResultType * Azure.ResourceManager.DataMigration.Models.ValidationError * System.Collections.Generic.IReadOnlyDictionary<string, int64> * System.Collections.Generic.IReadOnlyDictionary<string, int64> -> Azure.ResourceManager.DataMigration.Models.SchemaComparisonValidationResult
Public Shared Function SchemaComparisonValidationResult (Optional schemaDifferences As SchemaComparisonValidationResultType = Nothing, Optional validationErrors As ValidationError = Nothing, Optional sourceDatabaseObjectCount As IReadOnlyDictionary(Of String, Long) = Nothing, Optional targetDatabaseObjectCount As IReadOnlyDictionary(Of String, Long) = Nothing) As SchemaComparisonValidationResult

Parameters

schemaDifferences
SchemaComparisonValidationResultType

List of schema differences between the source and target databases.

validationErrors
ValidationError

List of errors that happened while performing schema compare validation.

sourceDatabaseObjectCount
IReadOnlyDictionary<String,Int64>

Count of source database objects.

targetDatabaseObjectCount
IReadOnlyDictionary<String,Int64>

Count of target database objects.

Returns

A new SchemaComparisonValidationResult instance for mocking.

Applies to