English 中文(简体)
报告处名称 班级
原标题:Namespace for ReportingService Class

我似乎可以找到一个明确的答案,说明如何进口适当的报告服务名称空间:

I tried to follow the instruction here http://msdn.microsoft.com/en-us/library/aa237438(v=sql.80).aspx but there is no Add Web Service option showing when I create a console application.

有一个服务账户。 相反,我是否应该这样做?

问题回答

您在MSDN的“康索尔申请”中对此有充分的例子:。 ReportExecutionservice.Render 方法 http://msdn.microsoft.com/en-us/library/ms160695.aspx“http://msdn.microsoft.com/en-us/library/ms160695.aspx

1. 如果你创建“网络4” 如果你能够正确点击解决方案探索者参考资料和选择Add Service Reference,那么它也与网络服务公司合作,而不仅仅是为世界气候基金服务。

2005年或2008年运行SSRS报告服务器的网络服务有:

http://myserver/reportserver/ReportExecution2005.asmx

浏览上文链接的网页,以找到从此开始的青少年应用范例。

static void Main(string[] args)
{
  ReportExecutionService rs = new ReportExecutionService();
  rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
  rs.Url = "http://myserver/reportserver/ReportExecution2005.asmx";
  ...
  ...

就您的项目项目进行公正的点击,并选择“Add Service Reference”

enter image description here

作为一种替代解决办法,你可以以斜体制定法典。 一般来说,这是我对安全部门改革所做的事。

例如,从科索沃警察部队指挥中迅速:

wsdl /language:CS /n:"Microsoft.SqlServer.ReportingServices2010" http://<Server Name>/reportserver/reportservice2010.asmx?wsdl

http://msdn.microsoft.com/en-us/library/ms155134.aspx” rel=“nofollow noreferer” 。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签