Partager via


Report.GetReportUrlBuilder Method

Creates a ReportUrlBuilder from an initial URL, optionally using a replacement URL root.

Espace de noms: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

Syntaxe

'Déclaration
Public Function GetReportUrlBuilder ( _
    initialUrl As String, _
    useReplacementRoot As Boolean, _
    addReportParameters As Boolean _
) As ReportUrlBuilder
public ReportUrlBuilder GetReportUrlBuilder (
    string initialUrl,
    bool useReplacementRoot,
    bool addReportParameters
)
public:
ReportUrlBuilder^ GetReportUrlBuilder (
    String^ initialUrl, 
    bool useReplacementRoot, 
    bool addReportParameters
)
public ReportUrlBuilder GetReportUrlBuilder (
    String initialUrl, 
    boolean useReplacementRoot, 
    boolean addReportParameters
)
public function GetReportUrlBuilder (
    initialUrl : String, 
    useReplacementRoot : boolean, 
    addReportParameters : boolean
) : ReportUrlBuilder

Paramètres

  • initialUrl
    The initial URL.
  • useReplacementRoot
    Indicates whether to use a replacement root. See remarks below.
  • addReportParameters
    Indicates whether to add report parameters.

Valeur de retour

A ReportUrlBuilder object.

Notes

Nouveau :5 décembre 2005

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.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Report Class
Report Members
Microsoft.ReportingServices.ReportRendering Namespace