ErrorSupport Constructor (IDTSComponentEvents100, String, String, Int32)
Initializes a new instance of the ErrorSupport class.
Espacio de nombres: Microsoft.SqlServer.Dts.ManagedMsg
Ensamblado: Microsoft.SqlServer.DtsMsg (en Microsoft.SqlServer.DtsMsg.dll)
Sintaxis
'Declaración
Public Sub New ( _
pIDTSEvents As IDTSComponentEvents100, _
strSubComponent As String, _
strHelpFile As String, _
HelpContext As Integer _
)
'Uso
Dim pIDTSEvents As IDTSComponentEvents100
Dim strSubComponent As String
Dim strHelpFile As String
Dim HelpContext As Integer
Dim instance As New ErrorSupport(pIDTSEvents, _
strSubComponent, strHelpFile, HelpContext)
public ErrorSupport(
IDTSComponentEvents100 pIDTSEvents,
string strSubComponent,
string strHelpFile,
int HelpContext
)
public:
ErrorSupport(
IDTSComponentEvents100^ pIDTSEvents,
String^ strSubComponent,
String^ strHelpFile,
int HelpContext
)
new :
pIDTSEvents:IDTSComponentEvents100 *
strSubComponent:string *
strHelpFile:string *
HelpContext:int -> ErrorSupport
public function ErrorSupport(
pIDTSEvents : IDTSComponentEvents100,
strSubComponent : String,
strHelpFile : String,
HelpContext : int
)
Parámetros
- pIDTSEvents
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSComponentEvents100
The IDTSComponentEvents100 instance that the ErrorSupport class will use to raise messages.
- strSubComponent
Tipo: System.String
The friendly name of the component.
- strHelpFile
Tipo: System.String
The help file that provides additional information about the messages that the ErrorSupport class raises.
- HelpContext
Tipo: System.Int32
The location in the help file that provides additional information about the messages that the ErrorSupport class raises.