Delen via


DtsWarning Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public NotInheritable Class DtsWarning _
    Inherits DtsObject
'Usage
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

The DtsWarning type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method Equals Determines whether two object instances are equal. (Inherited from DtsObject.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from DtsObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.