共用方式為


DTSUsageType 列舉型別

Indicates how an IDTSInputColumn100 object is used by a component.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Public Enumeration DTSUsageType
'用途
Dim instance As DTSUsageType
public enum DTSUsageType
public enum class DTSUsageType
type DTSUsageType
public enum DTSUsageType

成員

成員名稱 描述
UT_READONLY The component will read the values of an input column, but will not modify them.
UT_READWRITE The component will read and write to the column data.
UT_IGNORED The column is ignored by the component.

備註

This enumeration contains values that indicate how a component will use an IDTSInputColumn100 object.

Components validate that each column in their IDTSInputColumnCollection100 has its UsageType property set correctly.

For example, if a component needs read/write permission to an input column and the column's UsageType property is set to UT_READONLY, it should post a DTS_E_CANTSETUSAGETYPE message and return a failure result from Validate.