UseIdAsTableName
Specifies whether sheet and report IDs, rather than their names, are used as table identifiers.
Data Type
bool
Default Value
false
Remarks
When this property is set to true, the driver uses sheet or report IDs as table identifiers instead of their names.
For example, instead of referencing a table as Sheet_SheetName, you would use Sheet_SheetId, such as in the query:
SELECT * FROM Sheet_3759298161102724.
This property is useful in scenarios where sheet and report names are ambiguous, frequently changed, or not unique. Using IDs ensures consistent and reliable table references, even if file names are updated.
Note: The properties UseFullFilePathsAsTableNames and UseIdAsTableName cannot both be enabled at the same time. If both are set to true, an error occurs.