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