语言

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

如果该性质是可抽象的,则设为真

返回

返回新创建的自定义属性

适用于