此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Represents a variable class.
继承层次结构
System.Object
Microsoft.SqlServer.Dts.Runtime.Wrapper.VariableClass
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
<GuidAttribute("C64721A7-4947-4055-8BDD-9044EB2DD3D2")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class VariableClass _
Implements Variable, IDTSVariable100, IDTSExpression100, IDTSName100, _
IDTSPersist100, IDTSRuntimeObject100
用法
Dim instance As VariableClass
[GuidAttribute("C64721A7-4947-4055-8BDD-9044EB2DD3D2")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class VariableClass : Variable,
IDTSVariable100, IDTSExpression100, IDTSName100, IDTSPersist100, IDTSRuntimeObject100
[GuidAttribute(L"C64721A7-4947-4055-8BDD-9044EB2DD3D2")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class VariableClass : Variable,
IDTSVariable100, IDTSExpression100, IDTSName100, IDTSPersist100, IDTSRuntimeObject100
[<GuidAttribute("C64721A7-4947-4055-8BDD-9044EB2DD3D2")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type VariableClass =
class
interface Variable
interface IDTSVariable100
interface IDTSExpression100
interface IDTSName100
interface IDTSPersist100
interface IDTSRuntimeObject100
end
public class VariableClass implements Variable, IDTSVariable100, IDTSExpression100, IDTSName100, IDTSPersist100, IDTSRuntimeObject100
VariableClass 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
![]() |
VariableClass | 基础结构。Initializes a new instance of the VariableClass class. |
页首
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
CreationName | 基础结构。Gets the string that the runtime engine gives when it creates an instance of the VariableClass object. |
![]() |
DataType | 基础结构。Gets the data type of the variable. |
![]() |
Description | 基础结构。Gets or sets the description for the variable class. |
![]() |
EvaluateAsExpression | 基础结构。Gets or sets a value that indicates whether the variable contains an expression. |
![]() |
Expression | 基础结构。Gets or sets the expression contained in the variable class. |
![]() |
ID | 基础结构。The identifier of the variable. |
![]() |
IncludeInDebugDump | Gets or sets a value that specifies whether the variable value is included in the debug dump files. |
![]() |
Name | 基础结构。Gets or sets the name of the variable. |
![]() |
Namespace | 基础结构。Gets or sets the namespace that the variable class belongs to. |
![]() |
Parent | 基础结构。Gets or sets the parent of the variable class. |
![]() |
QualifiedName | 基础结构。Gets the fully qualified name of the variable, including the namespace. |
![]() |
RaiseChangedEvent | 基础结构。Gets or sets a value that indicates whether the variable class has been flagged to raise the OnVariableValueChanged event. |
![]() |
ReadOnly | 基础结构。Gets or sets a value that indicates whether the variable class is read-only and cannot have its value modified. |
![]() |
SystemVariable | 基础结构。Gets a value that indicates whether the variable class is a system variable. |
![]() |
Value | 基础结构。Gets or sets the value assigned to the variable. |
页首
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
GetValueWithContext | 基础结构。Returns a value of the variable class with a specified context. |
![]() |
LoadFromXML | 基础结构。Loads a package to a XML format. |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
SaveToXML | 基础结构。Saves the package to a XML format. |
![]() |
ToString | (从 Object 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
.gif)
.gif)
.gif)