共用方式為


ReportingService2006.ValidateExtensionSettings Method

Definition

Validates Reporting Services extension settings.

public:
 cli::array <ReportService2006::ExtensionParameter ^> ^ ValidateExtensionSettings(System::String ^ Extension, cli::array <ReportService2006::ParameterValueOrFieldReference ^> ^ ParameterValues, System::String ^ Site);
public ReportService2006.ExtensionParameter[] ValidateExtensionSettings (string Extension, ReportService2006.ParameterValueOrFieldReference[] ParameterValues, string Site);
member this.ValidateExtensionSettings : string * ReportService2006.ParameterValueOrFieldReference[] * string -> ReportService2006.ExtensionParameter[]
Public Function ValidateExtensionSettings (Extension As String, ParameterValues As ParameterValueOrFieldReference(), Site As String) As ExtensionParameter()

Parameters

Extension
String

The name of the extension as it appears in the report server configuration file. Valid values are Report Server Email and Report Server FileShare.

ParameterValues
ParameterValueOrFieldReference[]

An array of ParameterValueOrFieldReference objects representing the settings to validate for the extension.

Site
String

The fully qualified URL for the SharePoint site.

Returns

An array of ExtensionParameter objects that contain validated extension settings and any required settings that were not specified.

Remarks

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

SOAP Headers (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions None

The ExtensionParameter objects that are returned by the ValidateExtensionSettings method contain the following items:

  • All valid setting values specified in the ParameterValues parameter.

  • Settings with values that are not valid contain an error message (Error property of the ExtensionParameter class).

  • The names of all required settings that were not specified in the ParameterValues parameter with the Required property of a ExtensionParameter class set to a value of true.

Note Currently, the ValidateExtensionSettings method supports delivery extensions. Other extensions are not yet supported by this method.

Applies to