SchemaCompareComparisonGenerator.VerifyCompatibilityAndPopulateExtensions Method
Determines whether the specified model providers are compatible with each other and compatible with the specified database schema provider.
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
Parameters
- modelProvider1
Type: Microsoft.Data.Schema.Tools.Compare.Schema.ISchemaCompareModelProvider
- modelProvider2
Type: Microsoft.Data.Schema.Tools.Compare.Schema.ISchemaCompareModelProvider
- populateServices
Type: System.Boolean
- dsp
Type: Microsoft.Data.Schema.DatabaseSchemaProvider%
- scriptingService
Type: Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareScriptService%
- settingsService
Type: Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareSettingsService%
- modelInformation
Type: Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareModelInformation%
- errorMessage
Type: System.String%
Return Value
Type: System.Boolean
Remarks
If the providers and database schema provider are compatible, this method will set up the SchemaCompareSettingsService and the SchemaCompareScriptService extensions.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SchemaCompareComparisonGenerator Class
Microsoft.VisualStudio.Data.Schema.Package.SchemaCompare Namespace