DefaultEvents.OnInformation 메서드

정의

이 이벤트는 태스크에서 정보를 제공할 때 발생합니다.

public:
 virtual void OnInformation(Microsoft::SqlServer::Dts::Runtime::DtsObject ^ source, int informationCode, System::String ^ subComponent, System::String ^ description, System::String ^ helpFile, int helpContext, System::String ^ idofInterfaceWithError, bool % fireAgain);
public virtual void OnInformation (Microsoft.SqlServer.Dts.Runtime.DtsObject source, int informationCode, string subComponent, string description, string helpFile, int helpContext, string idofInterfaceWithError, ref bool fireAgain);
abstract member OnInformation : Microsoft.SqlServer.Dts.Runtime.DtsObject * int * string * string * string * int * string * bool -> unit
override this.OnInformation : Microsoft.SqlServer.Dts.Runtime.DtsObject * int * string * string * string * int * string * bool -> unit
Public Overridable Sub OnInformation (source As DtsObject, informationCode As Integer, subComponent As String, description As String, helpFile As String, helpContext As Integer, idofInterfaceWithError As String, ByRef fireAgain As Boolean)

매개 변수

source
DtsObject

이벤트를 일으킨 개체입니다.

informationCode
Int32

메시지를 식별하는 정수입니다. sourcesource의 조합은 중복되지 않아야 하므로 이 식별자를 informationCode 매개 변수와 함께 사용하는 경우에는 식별자가 고유해야 합니다. 그러나 informationCode만 단독으로 사용하는 경우에는 식별자가 고유하지 않아도 됩니다.

subComponent
String

원본 내 하위 모듈을 식별하는 임의의 문자열입니다. 파이프라인 태스크의 변환을 예로 들 수 있습니다.

description
String

메시지의 텍스트입니다.

helpFile
String

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

helpContext
Int32

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

idofInterfaceWithError
String

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

fireAgain
Boolean

클라이언트가 이 메시지를 수신할지 여부를 나타내는 부울입니다. 나중에 이 이벤트를 다시 받으려면 클라이언트가 이 이벤트를 true로 설정해야 합니다.

구현

설명

경고에 비해 정보 이벤트는 데이터 손실 또는 기타 우려 원인을 반드시 나타내지 않는 중요한 정보를 전달합니다. 그러나 로그 항목보다 더 많은 것을 보증하는 것이 중요합니다.

적용 대상