Поделиться через


SchemaCompareComparisonGenerator.VerifyCompatibilityAndPopulateExtensions - метод

Определяет, совместимы ли указанные поставщики модели друг с другом и с заданным поставщиком схемы базы данных.

Пространство имен:  Microsoft.VisualStudio.Data.Schema.Package.SchemaCompare
Сборка:  Microsoft.VisualStudio.Data.Schema.Package (в Microsoft.VisualStudio.Data.Schema.Package.dll)

Синтаксис

'Декларация
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

Параметры

Возвращаемое значение

Тип: System.Boolean

Заметки

Если поставщики и поставщик схемы базы данных совместимы, этот метод настроит расширения SchemaCompareSettingsService и SchemaCompareScriptService.

Безопасность платформы .NET Framework

См. также

Ссылки

SchemaCompareComparisonGenerator Класс

Microsoft.VisualStudio.Data.Schema.Package.SchemaCompare - пространство имен