Script Download: PublishReportInIntegratedMode.zip http://gallery.technet.microsoft.com/scriptcenter/Publish-report-to-0ca69662
This VB.NET sample script illustrates how to publish a report from a computer path to Reporting Services in SharePoint integrated mode. This script applies to SQL Server Reporting Services 2008 R2 integrated with SharePoint 2010.
Starting from SQL Server 2008 R2, the rs utility is supported against report servers that are configured for SharePoint integrated mode as well as servers configured in native mode. Today, most of the available script samples correspond to the native mode. This sample script will ease the problems in below two scenarios:
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery