RegenerateModel Método
Actualiza un modelo existente según los cambios del esquema del origen de datos.
Espacio de nombres: ReportService2006
Ensamblado: ReportService2006 (en ReportService2006.dll)
Sintaxis
'Declaración
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/RegenerateModel", 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("TrustedUserHeaderValue")> _
Public Function RegenerateModel ( _
Model As String _
) As Warning()
'Uso
Dim instance As ReportingService2006
Dim Model As String
Dim returnValue As Warning()
returnValue = instance.RegenerateModel(Model)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/RegenerateModel", 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("TrustedUserHeaderValue")]
public Warning[] RegenerateModel(
string Model
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/RegenerateModel", 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"TrustedUserHeaderValue")]
public:
array<Warning^>^ RegenerateModel(
String^ Model
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/RegenerateModel", 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("TrustedUserHeaderValue")>]
member RegenerateModel :
Model:string -> Warning[]
public function RegenerateModel(
Model : String
) : Warning[]
Parámetros
- Model
Tipo: System. . :: . .String
Dirección URL completa del modelo, incluidos el nombre y la extensión de nombre de archivo (.smdl).
Valor devuelto
Tipo: array<ReportService2006. . :: . .Warning> [] () [] []
Matriz de los objetos Warning que describen las advertencias que puedan haberse producido durante la generación del modelo.
Comentarios
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
EditListItems()()()() |
When called, the RegenerateModel method updates the model based on additions or changes to the data source schema.
Model item names are preserved between the existing model definition and the newly generated one.
Reports that were built against the model being changed can break if fields or entities are removed or renamed.
When the model definition is updated, custom properties stored in the model definition are propagated as custom properties on the model item in the folder namespace. New custom property values will overwrite existing custom property values.