Partager via


Classe FlatFileColumn

Contains information that defines the properties of columns in a flat file source or destination data adapter. The flat file adapter is used for accessing data in flat files. This class cannot be inherited.

Hiérarchie d'héritage

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

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

Syntaxe

'Déclaration
Public NotInheritable Class FlatFileColumn _
    Inherits DtsObject _
    Implements IDTSPersist, IDTSName, IComponent, IDisposable
'Utilisation
Dim instance As FlatFileColumn
public sealed class FlatFileColumn : DtsObject, 
    IDTSPersist, IDTSName, IComponent, IDisposable
public ref class FlatFileColumn sealed : public DtsObject, 
    IDTSPersist, IDTSName, IComponent, IDisposable
[<SealedAttribute>]
type FlatFileColumn =  
    class 
        inherit DtsObject 
        interface IDTSPersist 
        interface IDTSName 
        interface IComponent 
        interface IDisposable 
    end
public final class FlatFileColumn extends DtsObject implements IDTSPersist, IDTSName, IComponent, IDisposable

Le type FlatFileColumn expose les membres suivants.

Propriétés

  Nom Description
Propriété publique ColumnDelimiter Gets or sets the character that is the column delimiter.
Propriété publique ColumnType Gets or sets the column type, whether delimited or fixed width.
Propriété publique ColumnWidth Gets or sets the value that indicates how wide a column is when the ColumnType is fixed width.
Propriété publique CreationName Returns the string that is used by the Integration Services run-time to create an instance of the FlatFileColumn object. This property is read-only.
Propriété publique DataPrecision Gets or sets the total number of digits in a column that is defined as a numeric data type.
Propriété publique DataScale Gets and sets the scale.
Propriété publique DataType Gets or sets the DataType of the value stored in the flat file column.
Propriété publique Description Gets or sets the column description.
Propriété publique ID Returns the unique ID assigned to the column. This property is read-only.
Propriété publique MaximumWidth Gets or sets the maximum number of bytes to be read from the buffer.
Propriété publique Name Gets or sets a name for the column.
Propriété publique Site Infrastructure. Gets or sets the site of the file column.
Propriété publique TextQualified Gets or sets a Boolean that indicates whether the column is text qualified.

Haut de la page

Méthodes

  Nom Description
Méthode publique Dispose Releases the resources used by the flat file connection.
Méthode publique Equals Determines whether two object instances are equal. (hérité de DtsObject.)
Méthode publique GetHashCode Returns the hash code for this instance. (hérité de DtsObject.)
Méthode publique GetType (hérité de Object.)
Méthode publique LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
Méthode publique SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
Méthode publique ToString (hérité de Object.)

Haut de la page

Événements

  Nom Description
Événement public Disposed Adds an event handler to listen to the Disposed event on the component.

Haut de la page

Notes

This class inherits from the following classes and interfaces:

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