Dela via


DacActionEventArgs Class

Represents the data sent when an event is raised by a DAC action step during both deployment and uninstall.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.SqlServer.Management.Dac.DacActionEventArgs

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Class DacActionEventArgs _
    Inherits EventArgs _
    Implements IEquatable(Of DacActionEventArgs)
'Usage
Dim instance As DacActionEventArgs
public class DacActionEventArgs : EventArgs, 
    IEquatable<DacActionEventArgs>
public ref class DacActionEventArgs : public EventArgs, 
    IEquatable<DacActionEventArgs^>
type DacActionEventArgs =  
    class
        inherit EventArgs
        interface IEquatable<DacActionEventArgs>
    end
public class DacActionEventArgs extends EventArgs implements IEquatable<DacActionEventArgs>

The DacActionEventArgs type exposes the following members.

Properties

  Name Description
Public property ActionName Gets the name of the DAC action that raised the event.
Public property ActionState Gets or sets the state of the action step.
Public property Description Gets a description of the action step.
Public property Error Gets or sets the exception that is thrown when an error occurs in the action step.
Public property MessageLevel Gets or sets the information level of this event args.

Top

Methods

  Name Description
Public method Equals(Object) (Inherited from Object.)
Public method Equals(DacActionEventArgs) Determines whether the specified DacActionEventArgs object is equal to the DacActionEventArgs instance.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Overrides Object.GetHashCode().)
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.