共用方式為


PipelineComponentExt.CreateComponentProperty Method

Definition

Adds a new property to the component

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

Parameters

name
String

Property name

description
String

Property description

value
Object

Default value

expressionSupport
Boolean

Set to true if the property is expresionable

Returns

Returns the newly created custom property

Applies to