Metodo ConnectionManagerSqlMobileClass.Validate
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Validates the connection and returns an enumeration that indicates success or failure.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
Public Overridable Function Validate ( _
pEvents As IDTSInfoEvents100 _
) As DTSExecResult
'Utilizzo
Dim instance As ConnectionManagerSqlMobileClass
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
Parametri
- pEvents
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100
An object that implements the IDTSInfoEvents100 events interface to raise errors, warning, or informational events.
Valore restituito
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
One of the values of the DTSExecResult enumeration.
Implementa
IDTSConnectionManager100.Validate(IDTSInfoEvents100)