EnumValue 类
Holds the value of a parameter when the parameter type is Enum.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Dts.Tasks.WebServiceTask. . :: . .DTSParamValue
Microsoft.SqlServer.Dts.Tasks.WebServiceTask..::..EnumValue
命名空间: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
程序集: Microsoft.SqlServer.WebServiceTask(在 Microsoft.SqlServer.WebServiceTask.dll 中)
语法
声明
<SerializableAttribute> _
Public Class EnumValue _
Inherits DTSParamValue
用法
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
EnumValue 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
EnumValue() () () () | Initializes a new instance of the EnumValue class. |
![]() |
EnumValue(array<String> [] () [] []) | Initializes a new instance of the EnumValue class, using an array that contains all possible values of the enumeration. |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
EnumValues | Gets the possible values of an enumeration object. |
![]() |
SelectedValue | Gets or sets the value of a parameter. |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Clone | Creates an instance of EnumValue class that is identical to the current EnumValue. (覆盖 DTSParamValue. . :: . .Clone() () () ()。) |
![]() |
Equals | Determines whether two object instances are equal. (覆盖 Object. . :: . .Equals(Object)。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | Returns the hash code this object. (覆盖 Object. . :: . .GetHashCode() () () ()。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。