다음을 통해 공유


PipelineComponent.SetComponentProperty 메서드

Assigns a value to a IDTSCustomProperty100 of the component.

이 API는 CLS 규격이 아닙니다. 

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline
어셈블리:  Microsoft.SqlServer.PipelineHost(Microsoft.SqlServer.PipelineHost.dll)

구문

‘선언
<CLSCompliantAttribute(False)> _
Public Overridable Function SetComponentProperty ( _
    propertyName As String, _
    propertyValue As Object _
) As IDTSCustomProperty100
‘사용 방법
Dim instance As PipelineComponent 
Dim propertyName As String 
Dim propertyValue As Object 
Dim returnValue As IDTSCustomProperty100 

returnValue = instance.SetComponentProperty(propertyName, _
    propertyValue)
[CLSCompliantAttribute(false)]
public virtual IDTSCustomProperty100 SetComponentProperty(
    string propertyName,
    Object propertyValue
)
[CLSCompliantAttribute(false)]
public:
virtual IDTSCustomProperty100^ SetComponentProperty(
    String^ propertyName, 
    Object^ propertyValue
)
[<CLSCompliantAttribute(false)>]
abstract SetComponentProperty : 
        propertyName:string * 
        propertyValue:Object -> IDTSCustomProperty100 
[<CLSCompliantAttribute(false)>]
override SetComponentProperty : 
        propertyName:string * 
        propertyValue:Object -> IDTSCustomProperty100
public function SetComponentProperty(
    propertyName : String, 
    propertyValue : Object
) : IDTSCustomProperty100

매개 변수

반환 값

유형: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The IDTSCustomProperty100 object whose property is set.

주의

This method is called when a custom property in the ComponentMetaData is set.

If not overridden, the base class assigns the value specified in the propertyValue parameter to the custom property.

참고 항목

참조

PipelineComponent 클래스

Microsoft.SqlServer.Dts.Pipeline 네임스페이스