Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

ReportingService2005.ListSecureMethods Method ()


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

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

public string[] ListSecureMethods()

Return Value

Type: System.String[]

An array of String objects containing the names of methods that require a secure connection.

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

SOAP Headers

(Out) ServerInfoHeaderValue

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.

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:317946aa-8e95-4f0b-8170-394c9d5e184e

using System;

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

      string[] methods = rs.ListSecureMethods();

      if (methods != null)
         foreach (string method in methods)

The SecureConnectionLevel configuration file setting determines the list of methods that are returned.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft