Método IDTSConnectionManager100.Validate
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Validates the connection and returns an enumeration that indicates success or failure.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxe
'Declaração
Function Validate ( _
pEvents As IDTSInfoEvents100 _
) As DTSExecResult
'Uso
Dim instance As IDTSConnectionManager100
Dim pEvents As IDTSInfoEvents100
Dim returnValue As DTSExecResult
returnValue = instance.Validate(pEvents)
DTSExecResult Validate(
IDTSInfoEvents100 pEvents
)
DTSExecResult Validate(
[InAttribute] IDTSInfoEvents100^ pEvents
)
abstract Validate :
pEvents:IDTSInfoEvents100 -> DTSExecResult
function Validate(
pEvents : IDTSInfoEvents100
) : DTSExecResult
Parâmetros
- pEvents
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100
An object that implements the IDTSInfoEvents100 events interface to raise errors, warning, or informational events.
Valor de retorno
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
One of the enumeration values of the DTSExecResult enumeration.