Compartilhar via


Classe Parameter

Represents an abstract base class used by both package parameter and project parameter.

Hierarquia de herança

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.Parameter

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public MustInherit Class Parameter _
    Inherits DtsObject _
    Implements IComponent, IDisposable, IDTSName, IDTSPersist
'Uso
Dim instance As Parameter
public abstract class Parameter : DtsObject, 
    IComponent, IDisposable, IDTSName, IDTSPersist
public ref class Parameter abstract : public DtsObject, 
    IComponent, IDisposable, IDTSName, IDTSPersist
[<AbstractClassAttribute>]
type Parameter =  
    class 
        inherit DtsObject 
        interface IComponent 
        interface IDisposable 
        interface IDTSName 
        interface IDTSPersist 
    end
public abstract class Parameter extends DtsObject implements IComponent, IDisposable, IDTSName, IDTSPersist

O tipo Parameter expõe os membros a seguir.

Construtores

  Nome Descrição
Método protegido Parameter Initializes a new instance of the Parameter class.

Início

Propriedades

  Nome Descrição
Propriedade pública CreationName Gets the name used to create the Parameter object.
Propriedade pública DataType Gets the data type of the Parameter object.
Propriedade pública Description Gets or sets the description of the Parameter object.
Propriedade pública ID Gets the identifier of the Parameter object.
Propriedade pública IncludeInDebugDump Infraestrutura. Gets or sets a value that indicates whether the Parameter object is included in a debug dump.
Propriedade pública Name Gets or sets the name of the Parameter object.
Propriedade pública Required Gets or sets a value that indicates whether the Parameter object is a required parameter. If this value is true, a value must be assigned before a project or package can be executed.
Propriedade pública Sensitive Gets or sets a value that indicates whether the Parameter object contains sensitive data. If this value is true, the value is encrypted in the Integration Services catalog.
Propriedade pública Site Gets or sets the ISite interface associated with the Parameter object.
Propriedade pública Value Gets or sets the value of the Parameter object.

Início

Métodos

  Nome Descrição
Método protegidoMembro estático CheckParameterName Validates the specified parameter name.
Método público Dispose Releases all resources used by the current instance of the Parameter class.
Método público Equals Determines whether two object instances are equal. (Herdado de DtsObject.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode Returns the hash code for this instance. (Herdado de DtsObject.)
Método público GetType (Herdado de Object.)
Método público LoadFromXML Loads a package and all its objects that have been saved to memory in XML format.
Método protegido MemberwiseClone (Herdado de Object.)
Método público SaveToXML Saves the XML definition of a package to a file.
Método público ToString (Herdado de Object.)

Início

Eventos

  Nome Descrição
Evento público Disposed Occurs when the component is disposed by a call to the Dispose() method.

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Dts.Runtime