The GetPropertiesForObject method returns a Data Transformation Services (DTS) Properties collection from an object implementing a custom task.
[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 |
Use GetPropertiesForObject and the Properties collection it returns to determine, without causing an error, if an object supports a property.
HRESULT GetPropertiesForObject(
IDispatch *pObject,
IDTSProperties **pRetVal);