ServerViewableItems Interface

A collection of objects that have been marked as viewable on the server.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
<GuidAttribute("000244A4-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface ServerViewableItems _
    Inherits IEnumerable
'Usage
Dim instance As ServerViewableItems
[GuidAttribute("000244A4-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface ServerViewableItems : IEnumerable

Remarks

This is a collection of references to objects in the PivotTable. 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 is not indexable 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.

See Also

Reference

ServerViewableItems Members

Microsoft.Office.Interop.Excel Namespace