共用方式為


ObjectType Enumeration

Enumerations that specify what type of object is being used on a SharePoint site.

Namespace:  [SiteData Web service]
Web service reference: http://Site/_vti_bin/SiteData.asmx

Syntax

'Declaration
<SerializableAttribute> _
Public Enumeration ObjectType
'Usage
Dim instance As ObjectType
[SerializableAttribute]
public enum ObjectType

Members

Member name Description
VirtualServer Specifies an object that represents a virtual server or Web application.
ContentDatabase Specifies that a ContentDatabase property is associated with the site collection.
SiteCollection Represents an SPSite object in an SPWebApplication.
Site Represents an SPWeb object in an SPWebApplication, including a top-level Web site and all of its subsites.
List Specifies an SPList object in a SharePoint site.
Folder Specifies a SPFolder object in a SharePoint site.
ListItem Specifies an SPListItem object in a list in a SharePoint site.
ListItemAttachments Specifies that an SPAttachmentCollection object is associated with the list item.

Remarks

These enumerations were occasionally used with classes that became obsolete when Windows SharePoint Services 3.0 was released. Use the SPSiteCollection class or the SPWebApplication class for objects that can be used on SharePoint sites.

In Windows SharePoint Services 3.0, the term virtual server was replaced with the term web application, although you may still find them used interchangeably.

See Also

Reference

SiteData Web Service

Microsoft.SharePoint.Administration

SPContext

SPIisSettings