解譯 Transact-SQL 陳述式。
命名空間: Microsoft.Data.Schema.Sql.SchemaModel
組件: Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)
語法
'宣告
Public Sub Interpret ( _
statement As TSqlStatement, _
analyzer As SqlSchemaAnalyzer, _
<OutAttribute> ByRef errors As IList(Of InterpretationError) _
)
public void Interpret(
TSqlStatement statement,
SqlSchemaAnalyzer analyzer,
out IList<InterpretationError> errors
)
public:
void Interpret(
TSqlStatement^ statement,
SqlSchemaAnalyzer^ analyzer,
[OutAttribute] IList<InterpretationError^>^% errors
)
member Interpret :
statement:TSqlStatement *
analyzer:SqlSchemaAnalyzer *
errors:IList<InterpretationError> byref -> unit
public function Interpret(
statement : TSqlStatement,
analyzer : SqlSchemaAnalyzer,
errors : IList<InterpretationError>
)
參數
- statement
型別:Microsoft.Data.Schema.ScriptDom.Sql.TSqlStatement
要解譯的陳述式。
- analyzer
型別:Microsoft.Data.Schema.Sql.SchemaModel.SqlSchemaAnalyzer
要使用的分析器。
- errors
型別:System.Collections.Generic.IList<InterpretationError>%
解譯期間遇到的錯誤。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。