FileBasedModelProvider.IsCompatible Method
Returns provider compatibility.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.SchemaAndDataCompare
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Overrides Function IsCompatible ( _
modelProvider As IModelProvider, _
<OutAttribute> ByRef schemaCompareSettingsOptions As ISchemaCompareSettingsOptions, _
<OutAttribute> ByRef errorMessage As String _
) As Boolean
'Usage
Dim instance As FileBasedModelProvider
Dim modelProvider As IModelProvider
Dim schemaCompareSettingsOptions As ISchemaCompareSettingsOptions
Dim errorMessage As String
Dim returnValue As Boolean
returnValue = instance.IsCompatible(modelProvider, _
schemaCompareSettingsOptions, errorMessage)
public override bool IsCompatible(
IModelProvider modelProvider,
out ISchemaCompareSettingsOptions schemaCompareSettingsOptions,
out string errorMessage
)
public:
virtual bool IsCompatible(
IModelProvider^ modelProvider,
[OutAttribute] ISchemaCompareSettingsOptions^% schemaCompareSettingsOptions,
[OutAttribute] String^% errorMessage
) override
public override function IsCompatible(
modelProvider : IModelProvider,
schemaCompareSettingsOptions : ISchemaCompareSettingsOptions,
errorMessage : String
) : boolean
abstract IsCompatible :
modelProvider:IModelProvider *
schemaCompareSettingsOptions:ISchemaCompareSettingsOptions *
errorMessage:string -> bool
override IsCompatible :
modelProvider:IModelProvider *
schemaCompareSettingsOptions:ISchemaCompareSettingsOptions *
errorMessage:string -> bool
Parameters
- modelProvider
Type: Microsoft.Data.Schema.Compare.Schema.IModelProvider
The model provider
- schemaCompareSettingsOptions
Type: Microsoft.Data.Schema.Compare.Schema.ISchemaCompareSettingsOptions%
The resulting compare schema settings options
- errorMessage
Type: System.String%
The resulting error message, if any
Return Value
Type: System.Boolean
Implements
IModelProvider.IsCompatible(IModelProvider, ISchemaCompareSettingsOptions%, String%)
.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
FileBasedModelProvider Members
Microsoft.VisualStudio.Data.Schema.Project.SchemaAndDataCompare Namespace