Share via


SchemaCompareModelProviderBase.IsCompatible Method

Returns a value that indicates whether the given model provider is compatible with this model provider.

Namespace:  Microsoft.Data.Schema.Tools.Compare.Schema
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
Public Overridable Function IsCompatible ( _
    modelProvider As ISchemaCompareModelProvider, _
    <OutAttribute> ByRef errorMessage As String _
) As Boolean
public virtual bool IsCompatible(
    ISchemaCompareModelProvider modelProvider,
    out string errorMessage
)
public:
virtual bool IsCompatible(
    ISchemaCompareModelProvider^ modelProvider, 
    [OutAttribute] String^% errorMessage
)
abstract IsCompatible : 
        modelProvider:ISchemaCompareModelProvider * 
        errorMessage:string byref -> bool 
override IsCompatible : 
        modelProvider:ISchemaCompareModelProvider * 
        errorMessage:string byref -> bool 
public function IsCompatible(
    modelProvider : ISchemaCompareModelProvider, 
    errorMessage : String
) : boolean

Parameters

  • errorMessage
    Type: System.String%
    (Output) A string that contains a message that explains the incompatibilities.

Return Value

Type: System.Boolean
true if the given modelProvider is compatible with this model provider; otherwise false, and more information is provided in the output errorMessage parameter.

Implements

ISchemaCompareModelProvider.IsCompatible(ISchemaCompareModelProvider, String%)

.NET Framework Security

See Also

Reference

SchemaCompareModelProviderBase Class

Microsoft.Data.Schema.Tools.Compare.Schema Namespace