ISchemaCompareModelProvider.IsCompatible Method
Returns a value that indicates whether the current provider object is compatible with the provided schema compare model provider object.
Namespace: Microsoft.Data.Schema.Tools.Compare.Schema
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Function IsCompatible ( _
modelProvider As ISchemaCompareModelProvider, _
<OutAttribute> ByRef errorMessage As String _
) As Boolean
bool IsCompatible(
ISchemaCompareModelProvider modelProvider,
out string errorMessage
)
bool IsCompatible(
ISchemaCompareModelProvider^ modelProvider,
[OutAttribute] String^% errorMessage
)
abstract IsCompatible :
modelProvider:ISchemaCompareModelProvider *
errorMessage:string byref -> bool
function IsCompatible(
modelProvider : ISchemaCompareModelProvider,
errorMessage : String
) : boolean
Parameters
- modelProvider
Type: Microsoft.Data.Schema.Tools.Compare.Schema.ISchemaCompareModelProvider
An ISchemaCompareModelProvider object.
- errorMessage
Type: System.String%
(Output) An error message if the modelProvider is incompatible with the current provider.
Return Value
Type: System.Boolean
true if the provided model provider is compatible with the current provider; otherwise, false, and the output parameter errorMessage should contain an explanation of the incompatibility.
.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.