Bagikan melalui


PipelineComponent.SetComponentProperty(String, Object) Metode

Definisi

Penting

API ini bukan kompatibel CLS.

Menetapkan nilai ke IDTSCustomProperty100 komponen.

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSCustomProperty100 ^ SetComponentProperty(System::String ^ propertyName, System::Object ^ propertyValue);
[System.CLSCompliant(false)]
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100 SetComponentProperty (string propertyName, object propertyValue);
[<System.CLSCompliant(false)>]
abstract member SetComponentProperty : string * obj -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
override this.SetComponentProperty : string * obj -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
Public Overridable Function SetComponentProperty (propertyName As String, propertyValue As Object) As IDTSCustomProperty100

Parameter

propertyName
String

Nama yang IDTSCustomProperty100 nilainya ditetapkan.

propertyValue
Object

Objek yang disimpan dalam properti Nilai objek IDTSCustomProperty100 .

Mengembalikan

Objek IDTSCustomProperty100 yang propertinya diatur.

Atribut

Keterangan

Metode ini dipanggil ketika properti kustom dalam ComponentMetaData diatur.

Jika tidak ditimpa, kelas dasar menetapkan nilai yang ditentukan dalam propertyValue parameter ke properti kustom.

Berlaku untuk