ReportExecutionService.FindString(Int32, Int32, String) 方法

定義

傳回下一次發生指定之字串的邏輯頁碼。

public:
 int FindString(int StartPage, int EndPage, System::String ^ FindValue);
public int FindString (int StartPage, int EndPage, string FindValue);
member this.FindString : int * int * string -> int
Public Function FindString (StartPage As Integer, EndPage As Integer, FindValue As String) As Integer

參數

StartPage
Int32

開始搜尋字串的頁面。 搜尋會從 StartPage 開始,並繼續至檔的結尾,再開始和完成 EndPage。 指定 0 會從快照集的開頭開始。

EndPage
Int32

要停止搜尋字串的頁面。 指定 0 會在開始頁面停止。

FindValue
String

要尋找的字串。

傳回

Int32

Integer,其中包含下一次字串出現的頁碼,或者如果找不到字串,則為 0。

備註

下表顯示標頭以及有關這項作業的權限資訊。

SOAP 標頭使用方式 (In) TrustedUserHeaderValue

(In) ExecutionHeaderValue

(Out) ServerInfoHeaderValue
原生模式所需的許可權 None
SharePoint 模式的必要許可權 None

如果沒有任何快照集存在,則會傳回錯誤。

適用於