ReportingService2006.ValidateExtensionSettings 方法

Validates Reporting Services extension settings.

命名空间:  ReportService2006
程序集:  ReportService2006(在 ReportService2006.dll 中)

语法

声明
Public Function ValidateExtensionSettings ( _
    Extension As String, _
    ParameterValues As ParameterValueOrFieldReference(), _
    Site As String _
) As ExtensionParameter()
用法
Dim instance As ReportingService2006 
Dim Extension As String 
Dim ParameterValues As ParameterValueOrFieldReference()
Dim Site As String 
Dim returnValue As ExtensionParameter()

returnValue = instance.ValidateExtensionSettings(Extension, _
    ParameterValues, Site)
public ExtensionParameter[] ValidateExtensionSettings(
    string Extension,
    ParameterValueOrFieldReference[] ParameterValues,
    string Site
)
public:
array<ExtensionParameter^>^ ValidateExtensionSettings(
    String^ Extension, 
    array<ParameterValueOrFieldReference^>^ ParameterValues, 
    String^ Site
)
member ValidateExtensionSettings : 
        Extension:string * 
        ParameterValues:ParameterValueOrFieldReference[] * 
        Site:string -> ExtensionParameter[] 
public function ValidateExtensionSettings(
    Extension : String, 
    ParameterValues : ParameterValueOrFieldReference[], 
    Site : String
) : ExtensionParameter[]

参数

  • Extension
    类型:System.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.
  • Site
    类型:System.String
    The fully qualified URL for the SharePoint site.

返回值

类型:array<ReportService2006.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 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.

请参阅

参考

ReportingService2006 类

ReportService2006 命名空间