DTS Programming

GetPropertiesForObject Method

The GetPropertiesForObject method returns a Data Transformation Services (DTS) Properties collection from an object implementing a custom task.

Applies To
PropertiesProvider Object

Syntax

[Set colProperties =] object.GetPropertiesForObject( pObject)

Part Description
object Expression that evaluates to a PropertiesProvider object
pObject Expression that evaluates to an object for which a Properties collection is to be retrieved
colProperties Object variable of type Properties

Remarks

Use GetPropertiesForObject and the Properties collection it returns to determine, without causing an error, if an object supports a property.

Prototype (C/C++)

HRESULT GetPropertiesForObject(
    IDispatch *pObject,
    IDTSProperties **pRetVal);

See Also

Properties Collection