ReportingService2010.ValidateExtensionSettings(String, ParameterValueOrFieldReference[], String) ReportingService2010.ValidateExtensionSettings(String, ParameterValueOrFieldReference[], String) ReportingService2010.ValidateExtensionSettings(String, ParameterValueOrFieldReference[], String) Method

定义

验证 Reporting Services 扩展插件设置。 Validates Reporting Services extension settings.

public:
 cli::array <ReportService2010::ExtensionParameter ^> ^ ValidateExtensionSettings(System::String ^ Extension, cli::array <ReportService2010::ParameterValueOrFieldReference ^> ^ ParameterValues, System::String ^ SiteUrl);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ValidateExtensionSettings", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public ReportService2010.ExtensionParameter[] ValidateExtensionSettings (string Extension, ReportService2010.ParameterValueOrFieldReference[] ParameterValues, string SiteUrl);
Public Function ValidateExtensionSettings (Extension As String, ParameterValues As ParameterValueOrFieldReference(), SiteUrl As String) As ExtensionParameter()
参数
Extension
String String String

扩展插件的名称,该名称与在报表服务器配置文件中显示的一样。 The name of the extension as it appears in the report server configuration file. 有效值为Report Server EmailReport Server FileShare Valid values are Report Server Email and Report Server FileShare.

ParameterValues
ParameterValueOrFieldReference[]

数组ParameterValueOrFieldReference对象表示要验证的扩展的设置。 An array of ParameterValueOrFieldReference objects representing the settings to validate for the extension.

SiteUrl
String String String

SharePoint 站点的完全限定 URL。 The fully qualified URL for the SharePoint site. 将此参数设置为null(Nothing在 Visual Basic 中) 时调用此方法在纯模式下。 Set this parameter to null (Nothing in Visual Basic) when invoking this method in Native mode.

返回

数组ExtensionParameter包含的对象验证扩展插件设置和未指定任何必需的设置。 An array of ExtensionParameter objects that contain validated extension settings and any required settings that were not specified.

注解

下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.

SOAP 标头使用情况SOAP Header Usage (In) TrustedUserHeaderValue(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
纯模式所需的权限Native Mode Required Permissions InclusionThresholdSettingNone
SharePoint 模式所需的权限SharePoint Mode Required Permissions InclusionThresholdSettingNone

此方法将引发rsUnsupportedParameterForModeException异常如果非 null 值指定为SiteUrl在纯模式下的参数。This method throws an rsUnsupportedParameterForModeException exception if a non-null value is specified for the SiteUrl parameter in Native mode.

ExtensionParameter通过返回的对象ValidateExtensionSettings方法包含以下项:The ExtensionParameter objects that are returned by the ValidateExtensionSettings method contain the following items:

  • 中指定的所有有效的设置值ParameterValues参数。All valid setting values specified in the ParameterValues parameter.

  • 设置具有无效的值包含一条错误消息 (Error属性ExtensionParameter类)。Settings with values that are not valid contain an error message (Error property of the ExtensionParameter class).

  • 中未指定的所有必需设置的名称ParameterValues参数Required属性ExtensionParameter类设置的值为trueThe 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.

    请注意目前,ValidateExtensionSettings方法支持传递扩展插件。Note Currently, the ValidateExtensionSettings method supports delivery extensions. 其他扩展尚不通过此方法支持。Other extensions are not yet supported by this method.

适用于