2010-07-21 17 views

Respuesta

26

SSRS tiene un SOAP API completa, se puede ver información sobre eso aquí: http://technet.microsoft.com/en-us/library/ms155376.aspx

Desde el artículo anterior:

// Create a Web service proxy object and set credentials 
    ReportingService2005 rs = new ReportingService2005(); 
    rs.Credentials = System.Net.CredentialCache.DefaultCredentials; 

    // Return a list of catalog items in the report server database 
    CatalogItem[] items = rs.ListChildren("/", true); 

    // For each report, display the path of the report in a Listbox 
    foreach(CatalogItem ci in items) 
    { 
     if (ci.Type == ItemTypeEnum.Report) 
     catalogListBox.Items.Add(ci.Path); 
    } 

Hay un tutorial completo allí también: http://technet.microsoft.com/en-us/library/ms169926.aspx

+1

fresca. Entonces, ¿cómo obtengo una referencia a ReportServices? ¿Debo especificar una instancia reportservices en tiempo de compilación? (Lo siento, soy un poco novato en esto) – WOPR

+0

Acabo de agregar un enlace al tutorial completo en el sitio technet, que debería darle una buena introducción sobre cómo hacerlo. –

Cuestiones relacionadas