Share via


PackageUpgradeResult.OnError 메서드

정의

오류가 발생할 때 이벤트를 발생시킵니다.

public:
 virtual bool OnError(Microsoft::SqlServer::Dts::Runtime::DtsObject ^ source, int errorCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext, System::String ^ idofInterfaceWithError);
public bool OnError (Microsoft.SqlServer.Dts.Runtime.DtsObject source, int errorCode, string subComponent, string description, string helpFile, int helpContext, string idofInterfaceWithError);
abstract member OnError : Microsoft.SqlServer.Dts.Runtime.DtsObject * int * string * string * string * int * string -> bool
override this.OnError : Microsoft.SqlServer.Dts.Runtime.DtsObject * int * string * string * string * int * string -> bool
Public Function OnError (source As DtsObject, errorCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer, idofInterfaceWithError As String) As Boolean

매개 변수

source
DtsObject

오류의 원인, 즉 이벤트를 일으킨 개체입니다.

errorCode
Int32

오류 메시지를 식별하는 Integer입니다.

subComponent
String

원본 내 하위 모듈을 식별하는 임의의 문자열입니다.

description
String

메시지의 텍스트입니다.

helpFile
String

자세한 정보가 포함된 도움말 파일의 경로입니다.

helpContext
Int32

도움말 파일의 항목에 대한 식별자입니다.

idofInterfaceWithError
String

오류를 발생시킨 인터페이스의 GUID를 나타내는 텍스트 표현입니다.

반환

Boolean

발생된 이벤트입니다.

구현

적용 대상