Edit

Bagikan melalui


ServerViewableItems Interface

Definition

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

public interface class ServerViewableItems : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000244A4-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface ServerViewableItems : System.Collections.IEnumerable
Public Interface ServerViewableItems
Implements IEnumerable
Attributes
Implements

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.

Properties

_Default[Object]

Reserved for internal use.

Application

Returns an _Application object. Read-only.

Count

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

Creator

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

Parent

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

Methods

Add(Object)

Adds a reference to the ServerViewableItems collection.

Delete(Object)

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

DeleteAll()

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

GetEnumerator()
Item(Object)

Returns a single Object from the ServerViewableItems collection.

Applies to