Dela via


EnumValue Class

Holds the value of a parameter when the parameter type is Enum.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSParamValue
    Microsoft.SqlServer.Dts.Tasks.WebServiceTask.EnumValue

Namespace:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly:  Microsoft.SqlServer.WebServiceTask (in Microsoft.SqlServer.WebServiceTask.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class EnumValue _
    Inherits DTSParamValue
'Usage
Dim instance As EnumValue
[SerializableAttribute]
public class EnumValue : DTSParamValue
[SerializableAttribute]
public ref class EnumValue : public DTSParamValue
[<SerializableAttribute>]
type EnumValue =  
    class
        inherit DTSParamValue
    end
public class EnumValue extends DTSParamValue

The EnumValue type exposes the following members.

Constructors

  Name Description
Public method EnumValue() Initializes a new instance of the EnumValue class.
Public method EnumValue(array<String[]) Initializes a new instance of the EnumValue class, using an array that contains all possible values of the enumeration.

Top

Properties

  Name Description
Public property EnumValues Gets the possible values of an enumeration object.
Public property SelectedValue Gets or sets the value of a parameter.

Top

Methods

  Name Description
Public method Clone Creates an instance of EnumValue class that is identical to the current EnumValue. (Overrides DTSParamValue.Clone().)
Public method Equals Determines whether two object instances are equal. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code this object. (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.