all groups > sql server reporting services > january 2007 >
You're in the

sql server reporting services

group:

Execution context from inside custom assembly


Execution context from inside custom assembly Craig Wagner
1/12/2007 4:36:01 PM
sql server reporting services: From inside a custom assembly, is there any way to get information about the
execution context of the report? Ideally I'd like to find out the name of the
RE: Execution context from inside custom assembly weilu NO[at]SPAM online.microsoft.com
1/15/2007 5:57:14 AM
Hello,

My understanding of your issue is: You want to use a custom assembly in the
report to get the name of the folder which the current report resides in.
If I misunderstood your concern, please feel free to let me know.

I suggest you use the ReportObjectModel. You could use the Reflector to
check this class:

Microsoft.ReportingServices.ReportRendering.Report

The Location property of this class is the url you want to get.

Hope this will be helpful!

Sincerely,

Wei Lu

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
RE: Execution context from inside custom assembly weilu NO[at]SPAM online.microsoft.com
1/17/2007 10:14:38 AM
Hi ,

How is everything going? Please feel free to let me know if you need any
assistance.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button