ISchemaCompareModelProvider.Validate Method
Returns a value indicates whether the current provider is valid.
Namespace: Microsoft.Data.Schema.Tools.Compare.Schema
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Function Validate ( _
<OutAttribute> ByRef errorMessage As String _
) As Boolean
bool Validate(
out string errorMessage
)
bool Validate(
[OutAttribute] String^% errorMessage
)
abstract Validate :
errorMessage:string byref -> bool
function Validate(
errorMessage : String
) : boolean
Parameters
- errorMessage
Type: System.String%
(Output) A string that contains an error message if the current provider is not valid.
Return Value
Type: System.Boolean
True if the current provider object is valid; otherwise, false, and the errorMessage output parameter contains the reason that the object is not valid.
.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.