WorkbookBase.ServerViewableItems Property

Gets an object that you can use to interact with the list of published objects in the workbook that are shown on a Microsoft Office SharePoint Server server.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Public ReadOnly Property ServerViewableItems As ServerViewableItems
public ServerViewableItems ServerViewableItems { get; }

Property Value

Type: ServerViewableItems
A Microsoft.Office.Interop.Excel.ServerViewableItems object that you can use to interact with the list of published objects in the workbook that are shown on the server.

Remarks

This property returns a collection of the items in the workbook that you can publish to Excel Services. Only objects in this collection will be shown on the server. By default, the entire workbook (including all worksheets) is shown.

Only one ServerViewableItems object can exist per workbook. This collection cannot be indexed by name, because there is no guarantee that the names of objects that are marked as viewable on the server are unique.

In the Excel user interface, you can view the collection of objects that are marked as viewable on the server in the Excel Services Options dialog box.

.NET Framework Security

See Also

Reference

WorkbookBase Class

Microsoft.Office.Tools.Excel Namespace