The SourceObjectName property specifies the source object name if no value for the SourceSQLStatement property is specified.
object.SourceObjectName [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Source object name |
String
Read/write
HRESULT GetSourceObjectName(BSTR *pRetVal);
HRESULT SetSourceObjectName(BSTR NewValue);
The SourceObjectName property is typically a database table name or worksheet name.
The following code sets the SourceObjectName property:
objDataPump.SourceObjectName = "pubs..authors"
See Also