Export (0) Print
Expand All

ReportExecutionService.ListSecureMethods Method ()


Applies To: SQL Server 2016 Preview

Returns a list of SOAP methods that require a secure (SSL) connection when invoked.

Namespace:   ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)

public string[] ListSecureMethods()

Return Value

Type: System.String[]

An array of String objects that represent the names of methods. If no SOAP methods require SSL connections, an empty array is returned.

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions


SharePoint Mode Required Permissions


The SecureConnectionLevel setting for the report server determines the list of SOAP methods that are returned by the ListSecureMethods method. For more information, see Using Secure Web Service Methods.

Legacy Code Example

To compile this code example, you must reference the Reporting Services WSDL and import certain namespaces. For more information, see . The following code example uses the ListSecureMethods method to retrieve the methods that currently require a secure connection:

using System;

class Sample
   public static void Main()
      ReportingService rs = new ReportExecutionService();
      rs.Credentials = System.Net.CredentialCache.DefaultCredentials;

      // Set the base Web service URL of the source server
      rs.Url = "http://servername/reportserver/ReportExecution2005.asmx";

      string[] methods = rs.ListSecureMethods();

      if (methods != null)
         foreach (string method in methods)
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft