Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

ReportingService2010.ListExtensions Method

Returns a list of extensions that are configured for a given extension type.

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

<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListExtensions", RequestNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
	ResponseNamespace := "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
	Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Function ListExtensions ( _
	ExtensionType As String _
) As Extension()
Dim instance As ReportingService2010
Dim ExtensionType As String
Dim returnValue As Extension()

returnValue = instance.ListExtensions(ExtensionType)


Type: System.String
The extension type for which to list the configured extensions.
For a list of supported extension types, use the ListExtensionTypes method.

Return Value

Type: ReportService2010.Extension()
Returns an array of Extension objects that contain the available extensions.

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


Imports System
Imports System.IO
Imports System.Text
Imports System.Web.Services
Imports System.Web.Services.Protocols

Class Sample

    Public Shared Sub Main()

        Dim rs As New ReportingService2010()
        rs.Url = "http://<Server Name>/_vti_bin" + _
        rs.Credentials = _

        Dim extensions As Extension() = Nothing

        ' Retrieve a list of all supported 
        ' data processing extensions. 
            extensions = rs.ListExtensions("Data")

            If Not (extensions Is Nothing) Then
                Dim extension As Extension
                For Each extension In extensions
                    Console.WriteLine("Name: {0}", extension.Name)
                Next extension
            End If

        Catch e As SoapException
        End Try

    End Sub

End Class
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft