Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a ReportUrlBuilder from an initial URL, optionally using a replacement URL root.
Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)
Syntax
'Declaration
Public Function GetReportUrlBuilder ( _
initialUrl As String, _
useReplacementRoot As Boolean, _
addReportParameters As Boolean _
) As ReportUrlBuilder
'Usage
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
Parameters
- initialUrl
Type: System.String
The initial URL.
- useReplacementRoot
Type: System.Boolean
Indicates whether to use a replacement root. See remarks below.
- addReportParameters
Type: System.Boolean
Indicates whether to add report parameters.
Return Value
Type: Microsoft.ReportingServices.ReportRendering.ReportUrlBuilder
A ReportUrlBuilder object.
Remarks
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.