Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ReportExecutionService.FindString Method

Returns the logical page number of the next occurrence of the specified string.

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/FindString", RequestNamespace = "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
	ResponseNamespace = "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("ExecutionHeaderValue")]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
public int FindString(
	int StartPage,
	int EndPage,
	string FindValue
)

Parameters

StartPage
Type: System.Int32
Page on which to start searching for the string. The search starts on the StartPage and continues to the end of the document before starting over and finishing on the EndPage. Specify 0 to start at the beginning of the snapshot.
EndPage
Type: System.Int32
The page on which to stop searching for the string. Specify 0 to stop at the start page.
FindValue
Type: System.String
The string to find.

Return Value

Type: System.Int32
An Integer containing the page number with the next occurrence of the string, or 0 if the string is not found.

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(In) ExecutionHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

None

SharePoint Mode Required Permissions

None

If no snapshot exists, an error will be returned.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.