Partilhar via


ExcelService.GetPublishedItemNames Method

Gets a list of published items in a workbook.

Namespace:  Microsoft.Office.Excel.Server.WebServices
Assembly:  Microsoft.Office.Excel.Server.WebServices (in Microsoft.Office.Excel.Server.WebServices.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function GetPublishedItemNames ( _
    sessionId As String, _
    <OutAttribute> ByRef status As Status() _
) As WorkbookItem()
'Usage
Dim instance As ExcelService
Dim sessionId As String
Dim status As Status()
Dim returnValue As WorkbookItem()

returnValue = instance.GetPublishedItemNames(sessionId, _
    status)
[WebMethodAttribute]
public WorkbookItem[] GetPublishedItemNames(
    string sessionId,
    out Status[] status
)

Parameters

  • sessionId
    Type: System.String

    The Excel Web Services session ID.

  • status
    Type: []

    The alert information.

Return Value

Type: []
The WorkbookItem in the workbook.

Remarks

The only named item and types of item returned are the same ones that are available through the named item view drop down in Excel.

See Also

Reference

ExcelService Class

ExcelService Members

Microsoft.Office.Excel.Server.WebServices Namespace