ASTaskBase.Validate 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Validates the analysis service task.
命名空间: Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
程序集: Microsoft.SqlServer.ASTasks(在 Microsoft.SqlServer.ASTasks.dll 中)
语法
声明
Public Overrides Function Validate ( _
connections As Connections, _
variableDispenser As VariableDispenser, _
events As IDTSComponentEvents, _
log As IDTSLogging _
) As DTSExecResult
用法
Dim instance As ASTaskBase
Dim connections As Connections
Dim variableDispenser As VariableDispenser
Dim events As IDTSComponentEvents
Dim log As IDTSLogging
Dim returnValue As DTSExecResult
returnValue = instance.Validate(connections, _
variableDispenser, events, log)
public override DTSExecResult Validate(
Connections connections,
VariableDispenser variableDispenser,
IDTSComponentEvents events,
IDTSLogging log
)
public:
virtual DTSExecResult Validate(
Connections^ connections,
VariableDispenser^ variableDispenser,
IDTSComponentEvents^ events,
IDTSLogging^ log
) override
abstract Validate :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSComponentEvents *
log:IDTSLogging -> DTSExecResult
override Validate :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSComponentEvents *
log:IDTSLogging -> DTSExecResult
public override function Validate(
connections : Connections,
variableDispenser : VariableDispenser,
events : IDTSComponentEvents,
log : IDTSLogging
) : DTSExecResult
参数
- connections
类型:Microsoft.SqlServer.Dts.Runtime.Connections
The connections.
- variableDispenser
类型:Microsoft.SqlServer.Dts.Runtime.VariableDispenser
The variable description.
- events
类型:Microsoft.SqlServer.Dts.Runtime.IDTSComponentEvents
The event.
- log
类型:Microsoft.SqlServer.Dts.Runtime.IDTSLogging
The log.
返回值
类型:Microsoft.SqlServer.Dts.Runtime.DTSExecResult
The validated task.
请参阅
参考
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask 命名空间