Export (0) Print
Expand All

SetConfiguration Method

SQL Server 2000

IExtension.SetConfiguration Method

Used to pass custom configuration data to an extension.

Sub SetConfiguration( _
   ByVal configuration As String _

void SetConfiguration(
   string configuration

void SetConfiguration(
   String* configuration

function SetConfiguration(
   configuration : String
The XML string from the configuration file that contains extension configuration data.

Configuration data that you store in the configuration file for your custom extension takes the form of a Configuration element. The Configuration element is a child element of the Extension element entry in the rsreportserver.config file. The XML structure used in the configuration file might look like the one in the following example:

<Extension Name="My Extension" Type="Microsoft.Samples.ReportingServices.MyExtension.ExtensionClass,Microsoft.Samples.ReportingServices.MyExtension">

If no Configuration element is present for an extension entry in the configuration file, Reporting Services sets the value of the configuration parameter to an empty string.

Note  The Configuration element is not passed into the configuration argument. You should parse the inner XML of the Configuration element, if you want to process configuration data.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

IExtension Interface | IExtension Members | Microsoft.ReportingServices.Interfaces Namespace

© 2014 Microsoft