Partager via


SchemaCompareComparisonGenerator.VerifyCompatibilityAndPopulateExtensions, méthode

Détermine si les fournisseurs de modèles spécifiés sont compatibles entre eux et compatibles avec le fournisseur de schémas de base de données spécifié.

Espace de noms :  Microsoft.VisualStudio.Data.Schema.Package.SchemaCompare
Assembly :  Microsoft.VisualStudio.Data.Schema.Package (dans Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntaxe

'Déclaration
Public Shared Function VerifyCompatibilityAndPopulateExtensions ( _
    modelProvider1 As ISchemaCompareModelProvider, _
    modelProvider2 As ISchemaCompareModelProvider, _
    populateServices As Boolean, _
    <OutAttribute> ByRef dsp As DatabaseSchemaProvider, _
    <OutAttribute> ByRef scriptingService As SchemaCompareScriptService, _
    <OutAttribute> ByRef settingsService As SchemaCompareSettingsService, _
    <OutAttribute> ByRef modelInformation As SchemaCompareModelInformation, _
    <OutAttribute> ByRef errorMessage As String _
) As Boolean
public static bool VerifyCompatibilityAndPopulateExtensions(
    ISchemaCompareModelProvider modelProvider1,
    ISchemaCompareModelProvider modelProvider2,
    bool populateServices,
    out DatabaseSchemaProvider dsp,
    out SchemaCompareScriptService scriptingService,
    out SchemaCompareSettingsService settingsService,
    out SchemaCompareModelInformation modelInformation,
    out string errorMessage
)
public:
static bool VerifyCompatibilityAndPopulateExtensions(
    ISchemaCompareModelProvider^ modelProvider1, 
    ISchemaCompareModelProvider^ modelProvider2, 
    bool populateServices, 
    [OutAttribute] DatabaseSchemaProvider^% dsp, 
    [OutAttribute] SchemaCompareScriptService^% scriptingService, 
    [OutAttribute] SchemaCompareSettingsService^% settingsService, 
    [OutAttribute] SchemaCompareModelInformation^% modelInformation, 
    [OutAttribute] String^% errorMessage
)
static member VerifyCompatibilityAndPopulateExtensions : 
        modelProvider1:ISchemaCompareModelProvider * 
        modelProvider2:ISchemaCompareModelProvider * 
        populateServices:bool * 
        dsp:DatabaseSchemaProvider byref * 
        scriptingService:SchemaCompareScriptService byref * 
        settingsService:SchemaCompareSettingsService byref * 
        modelInformation:SchemaCompareModelInformation byref * 
        errorMessage:string byref -> bool 
public static function VerifyCompatibilityAndPopulateExtensions(
    modelProvider1 : ISchemaCompareModelProvider, 
    modelProvider2 : ISchemaCompareModelProvider, 
    populateServices : boolean, 
    dsp : DatabaseSchemaProvider, 
    scriptingService : SchemaCompareScriptService, 
    settingsService : SchemaCompareSettingsService, 
    modelInformation : SchemaCompareModelInformation, 
    errorMessage : String
) : boolean

Paramètres

Valeur de retour

Type : System.Boolean

Notes

Si les fournisseurs et le fournisseur de schémas de base de données sont compatibles, cette méthode installera les SchemaCompareSettingsService et les extensions SchemaCompareScriptService.

Sécurité .NET Framework

Voir aussi

Référence

SchemaCompareComparisonGenerator Classe

Microsoft.VisualStudio.Data.Schema.Package.SchemaCompare, espace de noms