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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。