ValidateExtensionSettings-Methode
Validiert Reporting Services-Erweiterungseinstellungen.
Namespace: ReportService2006
Assembly: ReportService2006 (in ReportService2006.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ValidateExtensionSettings", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
Public Function ValidateExtensionSettings ( _
Extension As String, _
ParameterValues As ParameterValueOrFieldReference(), _
Site As String _
) As ExtensionParameter()
'Usage
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)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ValidateExtensionSettings", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
public ExtensionParameter[] ValidateExtensionSettings(
string Extension,
ParameterValueOrFieldReference[] ParameterValues,
string Site
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ValidateExtensionSettings", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
public:
array<ExtensionParameter^>^ ValidateExtensionSettings(
String^ Extension,
array<ParameterValueOrFieldReference^>^ ParameterValues,
String^ Site
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/ValidateExtensionSettings", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
member ValidateExtensionSettings :
Extension:string *
ParameterValues:ParameterValueOrFieldReference[] *
Site:string -> ExtensionParameter[]
public function ValidateExtensionSettings(
Extension : String,
ParameterValues : ParameterValueOrFieldReference[],
Site : String
) : ExtensionParameter[]
Parameter
- Extension
Typ: System. . :: . .String
Der Name der Erweiterung, wie er in der Konfigurationsdatei des Berichtsservers angezeigt wird. Gültige Werte sind Report Server Email und Report Server FileShare.
- ParameterValues
Typ: array<ReportService2006. . :: . .ParameterValueOrFieldReference> [] () [] []
Ein Array von ParameterValueOrFieldReference-Objekten, das die Einstellungen darstellt, die für die Erweiterung validiert werden sollen.
- Site
Typ: System. . :: . .String
Die vollqualifizierte URL für die SharePoint-Website.
Rückgabewert
Typ: array<ReportService2006. . :: . .ExtensionParameter> [] () [] []
Ein Array von ExtensionParameter-Objekten, die validierte Erweiterungseinstellungen und alle nicht angegebenen erforderlichen Einstellungen enthalten.
Hinweise
The table below shows header and permissions information on this operation.
SOAP Headers |
(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.