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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。