共用方式為


VariableClass Class

Definition

Represents a variable class.

public ref class VariableClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExpression100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSName100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPersist100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSRuntimeObject100, Microsoft::SqlServer::Dts::Runtime::Wrapper::Variable
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("7934A587-383E-4694-AFBB-23DA8C00D8D9")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class VariableClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExpression100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.Variable
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("6F221DFC-B552-414F-B00B-13CDE7AA9079")]
public class VariableClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExpression100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.Variable
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("6E595DE3-AED9-45CE-AEFB-3EE1C52F914D")]
public class VariableClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExpression100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.Variable
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("7934A587-383E-4694-AFBB-23DA8C00D8D9")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type VariableClass = class
    interface Variable
    interface IDTSVariable100
    interface IDTSExpression100
    interface IDTSName100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("6F221DFC-B552-414F-B00B-13CDE7AA9079")>]
type VariableClass = class
    interface Variable
    interface IDTSVariable100
    interface IDTSExpression100
    interface IDTSName100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("6E595DE3-AED9-45CE-AEFB-3EE1C52F914D")>]
type VariableClass = class
    interface Variable
    interface IDTSVariable100
    interface IDTSExpression100
    interface IDTSName100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
Public Class VariableClass
Implements IDTSExpression100, IDTSName100, IDTSPersist100, IDTSRuntimeObject100, Variable
Inheritance
VariableClass
Attributes
Implements

Constructors

VariableClass()

Initializes a new instance of the VariableClass class.

Properties

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.

Methods

GetValueWithContext(IDTSEvaluatorContext100)

Returns a value of the variable class with a specified context.

LoadFromXML(Object, IDTSEvents100)

Loads a package to a XML format.

SaveToXML(Object, Object, IDTSEvents100)

Saves the package to a XML format.

Applies to