Share via


SchemaCompareFileBasedModelProvider.IsCompatible Method

Returns a value that indicates whether the provided compare model provider is compatible with the current model provider.

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

Syntax

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

Parameters

  • errorMessage
    Type: System.String%
    (Output) A string that contains a description of a problem that occurred during the compare compatibility process.

Return Value

Type: System.Boolean
true if the provided compare model provider is compatible with the current object; otherwise, false, and a description of the incompatibility is provided in the errorMessage output parameter.

Implements

ISchemaCompareModelProvider.IsCompatible(ISchemaCompareModelProvider, String%)

.NET Framework Security

See Also

Reference

SchemaCompareFileBasedModelProvider Class

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

ISchemaCompareModelProvider