GetReportUrlBuilder 方法
Creates a ReportUrlBuilder from an initial URL, optionally using a replacement URL root.
命名空间: Microsoft.ReportingServices.ReportRendering
程序集: Microsoft.ReportingServices.ProcessingCore(在 Microsoft.ReportingServices.ProcessingCore.dll 中)
语法
声明
Public Function GetReportUrlBuilder ( _
initialUrl As String, _
useReplacementRoot As Boolean, _
addReportParameters As Boolean _
) As ReportUrlBuilder
用法
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
参数
- initialUrl
类型:System. . :: . .String
The initial URL.
- useReplacementRoot
类型:System. . :: . .Boolean
Indicates whether to use a replacement root. See remarks.
- addReportParameters
类型:System. . :: . .Boolean
Indicates whether to add report parameters.
注释
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.