Share via


PipelineComponentExt.CreateComponentProperty 方法

定义

向组件添加新属性

protected virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100 CreateComponentProperty (string name, string description, object value, bool expressionSupport = false);
abstract member CreateComponentProperty : string * string * obj * bool -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
override this.CreateComponentProperty : string * string * obj * bool -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
Protected Overridable Function CreateComponentProperty (name As String, description As String, value As Object, Optional expressionSupport As Boolean = false) As IDTSCustomProperty100

参数

name
String

属性名称

description
String

属性说明

value
Object

默认值

expressionSupport
Boolean

如果属性是可消耗的,则设置为 true

返回

返回新创建的自定义属性

适用于