Partager via


Classe VariableClass

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Represents a variable class.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Dts.Runtime.Wrapper.VariableClass

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
<GuidAttribute("C64721A7-4947-4055-8BDD-9044EB2DD3D2")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class VariableClass _
    Implements Variable, IDTSVariable100, IDTSExpression100, IDTSName100,  _
    IDTSPersist100, IDTSRuntimeObject100
'Utilisation
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

Le type VariableClass expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique VariableClass Infrastructure. Initializes a new instance of the VariableClass class.

Haut de la page

Propriétés

  Nom Description
Propriété publique CreationName Infrastructure. Gets the string that the runtime engine gives when it creates an instance of the VariableClass object.
Propriété publique DataType Infrastructure. Gets the data type of the variable.
Propriété publique Description Infrastructure. Gets or sets the description for the variable class.
Propriété publique EvaluateAsExpression Infrastructure. Gets or sets a value that indicates whether the variable contains an expression.
Propriété publique Expression Infrastructure. Gets or sets the expression contained in the variable class.
Propriété publique ID Infrastructure. The identifier of the variable.
Propriété publique IncludeInDebugDump Gets or sets a value that specifies whether the variable value is included in the debug dump files.
Propriété publique Name Infrastructure. Gets or sets the name of the variable.
Propriété publique Namespace Infrastructure. Gets or sets the namespace that the variable class belongs to.
Propriété publique Parent Infrastructure. Gets or sets the parent of the variable class.
Propriété publique QualifiedName Infrastructure. Gets the fully qualified name of the variable, including the namespace.
Propriété publique RaiseChangedEvent Infrastructure. Gets or sets a value that indicates whether the variable class has been flagged to raise the OnVariableValueChanged event.
Propriété publique ReadOnly Infrastructure. Gets or sets a value that indicates whether the variable class is read-only and cannot have its value modified.
Propriété publique SystemVariable Infrastructure. Gets a value that indicates whether the variable class is a system variable.
Propriété publique Value Infrastructure. Gets or sets the value assigned to the variable.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique GetValueWithContext Infrastructure. Returns a value of the variable class with a specified context.
Méthode publique LoadFromXML Infrastructure. Loads a package to a XML format.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique SaveToXML Infrastructure. Saves the package to a XML format.
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper