Partager via


Méthode ReportExecutionService.NavigateBookmark

Navigates to a specific bookmark in the report.

Espace de noms :  ReportExecution2005
Assembly :  ReportExecution2005 (en ReportExecution2005.dll)

Syntaxe

'Déclaration
Public Function NavigateBookmark ( _
    BookmarkID As String, _
    <OutAttribute> ByRef UniqueName As String _
) As Integer
'Utilisation
Dim instance As ReportExecutionService 
Dim BookmarkID As String 
Dim UniqueName As String 
Dim returnValue As Integer 

returnValue = instance.NavigateBookmark(BookmarkID, _
    UniqueName)
public int NavigateBookmark(
    string BookmarkID,
    out string UniqueName
)
public:
int NavigateBookmark(
    String^ BookmarkID, 
    [OutAttribute] String^% UniqueName
)
member NavigateBookmark : 
        BookmarkID:string * 
        UniqueName:string byref -> int
public function NavigateBookmark(
    BookmarkID : String, 
    UniqueName : String
) : int

Paramètres

  • UniqueName
    Type : System.String%
    The name of the report item that the client should use to position the view area.

Valeur de retour

Type : System.Int32
An integer containing the page number that corresponds to the bookmark ID, or 0 if the BookMarkID is invalid or is not found.

Notes

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

Bookmarks are included in the rendered report. You must parse the rendering to obtain the ID of the bookmark.

Voir aussi

Référence

ReportExecutionService Classe

Espace de noms ReportExecution2005