ISchemaCompareModelProvider.Validate 方法

返回一个值,指示当前提供程序是否有效。

命名空间:  Microsoft.Data.Schema.Tools.Compare.Schema
程序集:  Microsoft.Data.Schema.Tools(在 Microsoft.Data.Schema.Tools.dll 中)

语法

声明
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

参数

  • errorMessage
    类型:System.String%
    (输出)当前提供程序无效时为包含错误消息的字符串。

返回值

类型:System.Boolean
如果当前提供程序对象有效,则为 true;否则为 false,并且 errorMessage 输出参数包含对象无效的原因。

.NET Framework 安全性

请参见

参考

ISchemaCompareModelProvider 接口

Microsoft.Data.Schema.Tools.Compare.Schema 命名空间