Поделиться через


Класс VariableClass

Этот 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.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dts.Runtime.Wrapper