WorkbookBase.ServerViewableItems Property

Definition

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.

public:
 property Microsoft::Office::Interop::Excel::ServerViewableItems ^ ServerViewableItems { Microsoft::Office::Interop::Excel::ServerViewableItems ^ get(); };
public Microsoft.Office.Interop.Excel.ServerViewableItems ServerViewableItems { get; }
member this.ServerViewableItems : Microsoft.Office.Interop.Excel.ServerViewableItems
Public ReadOnly Property ServerViewableItems As ServerViewableItems

Property Value

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 Microsoft.Office.Interop.Excel.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.

Applies to