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