Share via


Workbook.ServerViewableItems Property (2007 System)

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 2007 server.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property ServerViewableItems As ServerViewableItems
'Usage
Dim instance As Workbook 
Dim value As ServerViewableItems 

value = instance.ServerViewableItems
[BrowsableAttribute(false)]
public ServerViewableItems ServerViewableItems { get; }
[BrowsableAttribute(false)]
public:
property ServerViewableItems^ ServerViewableItems {
    ServerViewableItems^ get ();
}
public function get ServerViewableItems () : ServerViewableItems

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

Workbook Class

Workbook Members

Microsoft.Office.Tools.Excel Namespace