Método GetReportUrlBuilder
Cria um ReportUrlBuilder de uma URL inicial, usando opcionalmente uma raiz de URL de substituição.
Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (em Microsoft.ReportingServices.ProcessingCore.dll)
Sintaxe
'Declaração
Public Function GetReportUrlBuilder ( _
initialUrl As String, _
useReplacementRoot As Boolean, _
addReportParameters As Boolean _
) As ReportUrlBuilder
'Uso
Dim instance As Report
Dim initialUrl As String
Dim useReplacementRoot As Boolean
Dim addReportParameters As Boolean
Dim returnValue As ReportUrlBuilder
returnValue = instance.GetReportUrlBuilder(initialUrl, _
useReplacementRoot, addReportParameters)
public ReportUrlBuilder GetReportUrlBuilder(
string initialUrl,
bool useReplacementRoot,
bool addReportParameters
)
public:
ReportUrlBuilder^ GetReportUrlBuilder(
String^ initialUrl,
bool useReplacementRoot,
bool addReportParameters
)
member GetReportUrlBuilder :
initialUrl:string *
useReplacementRoot:bool *
addReportParameters:bool -> ReportUrlBuilder
public function GetReportUrlBuilder(
initialUrl : String,
useReplacementRoot : boolean,
addReportParameters : boolean
) : ReportUrlBuilder
Parâmetros
- initialUrl
Tipo: System. . :: . .String
A URL inicial.
- useReplacementRoot
Tipo: System. . :: . .Boolean
Indica se deve ser usada uma raiz de substituição. Consulte os comentários abaixo.
- addReportParameters
Tipo: System. . :: . .Boolean
Indica se deve adicionar parâmetros de relatório.
Valor de retorno
Tipo: Microsoft.ReportingServices.ReportRendering. . :: . .ReportUrlBuilder
Um objeto ReportUrlBuilder.
Comentários
The method builds the report URL from the URL provided. If UseReplacementRoot is true, the hyperlink is encoded as a parameter on the end of the replacement root string for the renderer.
If the URL is to be used as a source for data, set UseReplacementRoot to false. If the URL is to be used as a hyperlink, set UseReplacementRoot to true.