Write Method

DTS Programming

DTS Programming

Write Method

The Write method updates a value in a PropertyBag collection.

Applies To
PropertyBag Object
Syntax

object.Write bstrPropertyName, Value

Part Description
object Expression that evaluates to a PropertyBag object
bstrPropertyName String identifying an exposed property by name
Value Value of the property to be saved

Remarks

Generic BLOBs or objects are not supported as property values.

Prototype (C/C++)

HRESULT Write(
    BSTR bstrPropertyName,
    VARIANT Value);

See Also

PersistPropertyBag Object

Read Method