DefaultEvents.OnInformation Yöntemi
Bu olay, bilgi sağlamak için görev olduğu zaman ortaya çıkar.
Ad Alanı: Microsoft.SqlServer.Dts.Runtime
Derleme: Microsoft.SqlServer.ManagedDTS (Microsoft.SqlServer.ManagedDTS içinde.dll)
Sözdizimi
'Bildirim
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 _
)
'Kullanım
Dim instance As DefaultEvents
Dim source As DtsObject
Dim informationCode As Integer
Dim subComponent As String
Dim description As String
Dim helpFile As String
Dim helpContext As Integer
Dim idofInterfaceWithError As String
Dim fireAgain As Boolean
instance.OnInformation(source, informationCode, _
subComponent, description, helpFile, _
helpContext, idofInterfaceWithError, _
fireAgain)
public virtual void OnInformation(
DtsObject source,
int informationCode,
string subComponent,
string description,
string helpFile,
int helpContext,
string idofInterfaceWithError,
ref bool fireAgain
)
public:
virtual void OnInformation(
DtsObject^ source,
int informationCode,
String^ subComponent,
String^ description,
String^ helpFile,
int helpContext,
String^ idofInterfaceWithError,
bool% fireAgain
)
abstract OnInformation :
source:DtsObject *
informationCode:int *
subComponent:string *
description:string *
helpFile:string *
helpContext:int *
idofInterfaceWithError:string *
fireAgain:bool byref -> unit
override OnInformation :
source:DtsObject *
informationCode:int *
subComponent:string *
description:string *
helpFile:string *
helpContext:int *
idofInterfaceWithError:string *
fireAgain:bool byref -> unit
public function OnInformation(
source : DtsObject,
informationCode : int,
subComponent : String,
description : String,
helpFile : String,
helpContext : int,
idofInterfaceWithError : String,
fireAgain : boolean
)
Parametreler
- source
Tür: Microsoft.SqlServer.Dts.Runtime.DtsObject
Olay nedeniyle oluşan nesne.
- informationCode
Tür: System.Int32
İletiyi tanımlayan bir tamsayı.Bu tanımlayıcı ile birleştirildiğinde benzersiz source parametresi, bu nedenle source ve informationCode birlikte benzersiz olması gerekir.Ancak, informationCode tek başına benzersiz olması beklenmiyor.
- subComponent
Tür: System.String
Sub-module içinde kaynak tanımlayan isteğe bağlı bir dize.Örneğin, bir kanal görevi dönüştürme.
- description
Tür: System.String
İleti metni.
- helpFile
Tür: System.String
Ayrıntılı bilgi içeren Yardım dosyası yol.
- helpContext
Tür: System.Int32
Yardım dosyasındaki bir konu tanımlayıcısı.
- idofInterfaceWithError
Tür: System.String
Hataya neden arabirim GUID metinsel gösterimini.
- fireAgain
Tür: System.Boolean%
A Boole istemci bu iletiyi almak isteyip istemediğini gösterir.istemci gerekir küme için doğru bu olay ileride yeniden almak istiyorsanız.
Uygulamalar
IDTSEvents.OnInformation(DtsObject, Int32, String, String, String, Int32, String, Boolean%)
Açıklamalar
Karşılaştırma için bir uyarı, bilgi olay mutlaka herhangi bir veri kaybı veya diğer önemli bir durum göstermek değil önemli bilgiler iletişim kurar.Ancak, birden çok günlük girdisi bağlantıdaysanız yeterince önemlidir.