Método SchemaCompareComparisonGenerator.VerifyCompatibilityAndPopulateExtensions
Determina se os provedores do modelo especificado são compatíveis entre si e compatível com o provedor de esquema do banco de dados especificado.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.SchemaCompare
Assembly: Microsoft.VisualStudio.Data.Schema.Package (em Microsoft.VisualStudio.Data.Schema.Package.dll)
Sintaxe
'Declaração
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
Parâmetros
- modelProvider1
Tipo: Microsoft.Data.Schema.Tools.Compare.Schema.ISchemaCompareModelProvider
- modelProvider2
Tipo: Microsoft.Data.Schema.Tools.Compare.Schema.ISchemaCompareModelProvider
- populateServices
Tipo: System.Boolean
- dsp
Tipo: Microsoft.Data.Schema.DatabaseSchemaProvider%
- scriptingService
Tipo: Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareScriptService%
- settingsService
Tipo: Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareSettingsService%
- modelInformation
Tipo: Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareModelInformation%
- errorMessage
Tipo: System.String%
Valor de retorno
Tipo: System.Boolean
Comentários
Se os provedores e o provedor do esquema de banco de dados forem compatíveis, esse método configurará a SchemaCompareSettingsService e o SchemaCompareScriptService as extensões.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiáveis.
Consulte também
Referência
SchemaCompareComparisonGenerator Classe
Namespace Microsoft.VisualStudio.Data.Schema.Package.SchemaCompare