PackageUpgradeResult.OnError 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오류가 발생하면 이벤트를 발생시킵니다.
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
오류 메시지를 식별하는 정수입니다.
- subComponent
- String
소스 내 서브모듈을 식별하는 임의의 문자열입니다.
- description
- String
메시지의 텍스트입니다.
- helpFile
- String
자세한 정보가 담긴 도움말 파일로 가는 경로입니다.
- helpContext
- Int32
도움말 파일에 있는 주제의 식별자.
- idofInterfaceWithError
- String
오류를 일으킨 인터페이스의 GUID를 텍스트로 표현한 것입니다.
반품
발생한 이벤트입니다.