IDTSForEachEnumerator100.Validate 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
允许枚举器判断是否包含会阻止成功执行的无效设置。
public:
Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSExecResult Validate(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnections100 ^ pConnections, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariableDispenser100 ^ pVariableDispenser, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSInfoEvents100 ^ pEvents, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogging100 ^ pLog);
[System.Runtime.InteropServices.DispId(1610743812)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult Validate(Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 pConnections, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 pVariableDispenser, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 pEvents, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 pLog);
[<System.Runtime.InteropServices.DispId(1610743812)>]
abstract member Validate : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
Public Function Validate (pConnections As IDTSConnections100, pVariableDispenser As IDTSVariableDispenser100, pEvents As IDTSInfoEvents100, pLog As IDTSLogging100) As DTSExecResult
参数
- pConnections
- IDTSConnections100
由枚举员使用的连接集合。
- pVariableDispenser
- IDTSVariableDispenser100
用于锁定变量的对象。
- pEvents
- IDTSInfoEvents100
一个在持久化期间实现 IDTSInfoEvents100 触发事件(错误、警告等)接口的对象。
- pLog
- IDTSLogging100
实现 IDTSLogging100 接口的对象。
返回
枚举中的一个值 DTSExecResult ,表示验证的成功或失败。
- 属性
注解
有关详细信息,请参阅 IDTSForEachEnumerator。