Bagikan melalui


LogProviderHostClass.Validate Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Validates the log provider with the specified events.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Function Validate ( _
    pEvents As IDTSInfoEvents100 _
) As DTSExecResult
'Usage
Dim instance As LogProviderHostClass 
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

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
A value from the DTSExecResult enumeration.

Implements

IDTSLogProvider100.Validate(IDTSInfoEvents100)

See Also

Reference

LogProviderHostClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace