DtsWarning 類別

Contains the properties used when a warning occurs. This class cannot be inherited.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..DtsWarning

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public NotInheritable Class DtsWarning _
    Inherits DtsObject
'用途
Dim instance As DtsWarning
public sealed class DtsWarning : DtsObject
public ref class DtsWarning sealed : public DtsObject
[<SealedAttribute>]
type DtsWarning =  
    class
        inherit DtsObject
    end
public final class DtsWarning extends DtsObject

DtsWarning 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Description Gets or sets the text of the warning message.
公用屬性 HelpContext Gets or sets the identifier of the topic in the Help file.
公用屬性 HelpFile Gets or sets a String expression that contains the fully qualified path to a Help file.
公用屬性 IDOfInterfaceWithWarning Gets or sets the GUID of the interface that is throwing the warning.
公用屬性 Source Gets or sets a String that contains the GUID of the interface that caused the error.
公用屬性 SubComponent Gets or sets a string that identifies the submodule within a source.
公用屬性 TimeStamp Returns a TimeStamp that indicates when the warning occurred.
公用屬性 WarningCode Gets or sets an Integer that identifies the warning message.

上層

方法

  名稱 說明
公用方法 Equals Determines whether two object instances are equal. (繼承自 DtsObject。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode Returns the hash code for this instance. (繼承自 DtsObject。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。