User.Anonymous
User.Anonymous

Reputation: 1726

Deploy a .rdl on ReportServices by code behind

I'm working on a software that make some test on report before sent it to production.

Is there a method to send report on the ReportService with C# ? And is there a method to send parameter to ReportService and catch the result (not the pdf, but the result of the operation) ?

Thanks for your attention.

EDIT : To add some information, I need the same behavior in C# as if I choose 'deploy' from Visual Studio with a TargetServerURL and TargetReportFolder.

Upvotes: 1

Views: 1963

Answers (1)

Rob Stevenson-Leggett
Rob Stevenson-Leggett

Reputation: 35679

You should look into using the ReportService2005.asmx (or appropriate version).

See the CreateReport method.

Upvotes: 2

Related Questions