I’m trying to obtain the Oracle package name used for a Crystal report data source using .NET code.
I have obtained the procedure name, but for some reason I can not find the package name.
Dim rpt as new ReportDocument
rpt.Load(filename)
Dim procedureName As String = rpt.Database.Tables.Item(0).Location
Dim DataSourceAliasName As String = rpt.Database.Tables.Item(0).Name
Currently using .NET Crystal Decisions version: 10.5.3700.0
The QualifiedName attribute is not exposed on the public dotnet wrapper. You have to access the non-public underlying COM object and use that.
You need to reference the following DLLs:
Below is an example code snippet. Note that it will come back prefixed with the schema name. I ended up chopping that off in my real implementation.