Freigeben über


SchemaCompareComparisonGenerator.VerifyCompatibilityAndPopulateExtensions-Methode

Bestimmt, ob die angegebenen Modellanbieter miteinander und mit dem angegebenen Datenbankschema-Anbieter kompatibel sind.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.SchemaCompare
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
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

Parameter

Rückgabewert

Typ: System.Boolean

Hinweise

Wenn die Anbieter und der Datenbankschema-Anbieter kompatibel sind, richtet diese Methode die SchemaCompareSettingsService und die SchemaCompareScriptService-Erweiterungen ein.

.NET Framework-Sicherheit

Siehe auch

Referenz

SchemaCompareComparisonGenerator Klasse

Microsoft.VisualStudio.Data.Schema.Package.SchemaCompare-Namespace