SqlInterpreter.Interpret 方法 (TSqlBatch, SqlSchemaAnalyzer, IList<InterpretationError>%)
解释 Transact-SQL 批处理。
命名空间: Microsoft.Data.Schema.Sql.SchemaModel
程序集: Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)
语法
声明
Public Sub Interpret ( _
batch As TSqlBatch, _
analyzer As SqlSchemaAnalyzer, _
<OutAttribute> ByRef errors As IList(Of InterpretationError) _
)
public void Interpret(
TSqlBatch batch,
SqlSchemaAnalyzer analyzer,
out IList<InterpretationError> errors
)
public:
void Interpret(
TSqlBatch^ batch,
SqlSchemaAnalyzer^ analyzer,
[OutAttribute] IList<InterpretationError^>^% errors
)
member Interpret :
batch:TSqlBatch *
analyzer:SqlSchemaAnalyzer *
errors:IList<InterpretationError> byref -> unit
public function Interpret(
batch : TSqlBatch,
analyzer : SqlSchemaAnalyzer,
errors : IList<InterpretationError>
)
参数
- batch
类型:Microsoft.Data.Schema.ScriptDom.Sql.TSqlBatch
要解释的批处理。
- analyzer
类型:Microsoft.Data.Schema.Sql.SchemaModel.SqlSchemaAnalyzer
要使用的分析器。
- errors
类型:System.Collections.Generic.IList<InterpretationError>%
解释过程中遇到的错误。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。