Metoda ReportUrl.GetUrlBuilder
Tworzy adres URL raportu w formie ReportUrlBuilder obiekt z początkowego adresu URL, opcjonalnie przy użyciu głównego adresu URL zastępczego.Adres URL może być względna.
Przestrzeń nazw: Microsoft.ReportingServices.ReportRendering
Zestaw: Microsoft.ReportingServices.ProcessingCore (w Microsoft.ReportingServices.ProcessingCore.dll)
Składnia
'Deklaracja
Public Function GetUrlBuilder ( _
initialUrl As String, _
useReplacementRoot As Boolean _
) As ReportUrlBuilder
'Użycie
Dim instance As ReportUrl
Dim initialUrl As String
Dim useReplacementRoot As Boolean
Dim returnValue As ReportUrlBuilder
returnValue = instance.GetUrlBuilder(initialUrl, _
useReplacementRoot)
public ReportUrlBuilder GetUrlBuilder(
string initialUrl,
bool useReplacementRoot
)
public:
ReportUrlBuilder^ GetUrlBuilder(
String^ initialUrl,
bool useReplacementRoot
)
member GetUrlBuilder :
initialUrl:string *
useReplacementRoot:bool -> ReportUrlBuilder
public function GetUrlBuilder(
initialUrl : String,
useReplacementRoot : boolean
) : ReportUrlBuilder
Parametry
- initialUrl
Typ: System.String
Adres URL do budowania ReportUrlBuilder obiekt z.
- useReplacementRoot
Typ: System.Boolean
A wartość logiczna wskazujące sposób przetwarzania initialUrl parametru.Jeśli useReplacementRoot jest true, metoda wysyła hiperłącze za pomocą interfejs użytkownika i kodowane jako parametr na końcu ciąg zastępowania główny dla renderowania.Jeśli adres URL ma być używany jako źródło danych, zestaw useReplacementRoot do false.Jeśli adres URL ma być używany jako hiperłącze, zestaw useReplacementRoot do true.
Wartość zwracana
Typ: Microsoft.ReportingServices.ReportRendering.ReportUrlBuilder
A ReportUrlBuilder obiektu.
Uwagi
ReplacementRoot jest nowy katalog główny adres URL dla wszystkich adresów URL wewnątrz serwer raportów.To jest używany przez interfejs użytkownika przekierować łącza w raportach do innych raportów.Wartością domyślną jest ciąg pusty, wskazuje, że przekierowanie nie ma miejsce.