ConnectionManagerAdoNetClass.Validate Método
Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.
Validates the connection and returns an enumeration that indicates success or failure.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado: Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxis
'Declaración
Public Overridable Function Validate ( _
pEvents As IDTSInfoEvents100 _
) As DTSExecResult
'Uso
Dim instance As ConnectionManagerAdoNetClass
Dim pEvents As IDTSInfoEvents100
Dim returnValue As DTSExecResult
returnValue = instance.Validate(pEvents)
public virtual DTSExecResult Validate(
IDTSInfoEvents100 pEvents
)
public:
virtual DTSExecResult Validate(
[InAttribute] IDTSInfoEvents100^ pEvents
)
abstract Validate :
pEvents:IDTSInfoEvents100 -> DTSExecResult
override Validate :
pEvents:IDTSInfoEvents100 -> DTSExecResult
public 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 devuelto
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
One of the enumeration values of the DTSExecResult enumeration.
Implementa
IDTSConnectionManager100.Validate(IDTSInfoEvents100)