共用方式為


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.

繼承階層

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

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public NotInheritable Class FlatFileColumn _
    Inherits DtsObject _
    Implements IDTSPersist, IDTSName, IComponent, IDisposable
'用途
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

FlatFileColumn 型別公開下列成員。

屬性

  名稱 說明
公用屬性 ColumnDelimiter Gets or sets the character that is the column delimiter.
公用屬性 ColumnType Gets or sets the column type, whether delimited or fixed width.
公用屬性 ColumnWidth Gets or sets the value that indicates how wide a column is when the ColumnType is fixed width.
公用屬性 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.
公用屬性 DataPrecision Gets or sets the total number of digits in a column that is defined as a numeric data type.
公用屬性 DataScale Gets and sets the scale.
公用屬性 DataType Gets or sets the DataType of the value stored in the flat file column.
公用屬性 Description Gets or sets the column description.
公用屬性 ID Returns the unique ID assigned to the column. This property is read-only.
公用屬性 MaximumWidth Gets or sets the maximum number of bytes to be read from the buffer.
公用屬性 Name Gets or sets a name for the column.
公用屬性 Site 基礎結構。Gets or sets the site of the file column.
公用屬性 TextQualified Gets or sets a Boolean that indicates whether the column is text qualified.

上層

方法

  名稱 說明
公用方法 Dispose Releases the resources used by the flat file connection.
公用方法 Equals Determines whether two object instances are equal. (繼承自 DtsObject。)
公用方法 GetHashCode Returns the hash code for this instance. (繼承自 DtsObject。)
公用方法 GetType (繼承自 Object。)
公用方法 LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
公用方法 SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
公用方法 ToString (繼承自 Object。)

上層

事件

  名稱 說明
公用事件 Disposed Adds an event handler to listen to the Disposed event on the component.

上層

備註

This class inherits from the following classes and interfaces:

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Runtime 命名空間