ServerViewableItems ServerViewableItems ServerViewableItems Interface


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

public interface class ServerViewableItems : System::Collections::IEnumerable
public interface ServerViewableItems : System.Collections.IEnumerable
Public Interface ServerViewableItems
Implements IEnumerable


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.


_Default[Object] _Default[Object] _Default[Object]

Reserved for internal use.

Application Application Application

Returns an _Application object. Read-only.

Count Count Count

Returns the number of objects in the collection. Read-only.

Creator Creator Creator

Returns a 32-bit Integer that indicates the application in which this object was created. Read-only.

Parent Parent Parent

Returns the parent for the specified object. Read-only.


Add(Object) Add(Object) Add(Object)

Adds a reference to the ServerViewableItems collection.

Delete(Object) Delete(Object) Delete(Object)

Deletes a reference to an object in the ServerViewableItems collection in the _Workbook.

DeleteAll() DeleteAll() DeleteAll()

Deletes references to all the objects in the ServerViewableItems collection in the _Workbook.

GetEnumerator() GetEnumerator() GetEnumerator()
Item(Object) Item(Object) Item(Object)

Returns a single Object from the ServerViewableItems collection.

Applies to