Partager via


ObjectType, énumération (websvcSiteData)

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

Espace de noms : websvcSiteData
Assembly : STSSOAP (dans stssoap.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<XmlTypeAttribute(Namespace:="https://schemas.microsoft.com/sharepoint/soap/")> _
Public Enumeration ObjectType
'Utilisation
Dim instance As ObjectType
[SerializableAttribute] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[XmlTypeAttribute(Namespace="https://schemas.microsoft.com/sharepoint/soap/")] 
public enum ObjectType

Membres

  Nom du membre Description
ContentDatabase Specifies that a ContentDatabase property is associated with the site collection. 
Folder Specifies a SPFolder object in a SharePoint site. 
List Specifies an SPList 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. 
Site Represents an SPWeb object in an SPWebApplication, including a top-level Web site and all of its subsites. 
SiteCollection Represents an SPSite object in an SPWebApplication
VirtualServer Specifies an object that represents a virtual server or Web application.  

Notes

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.

Voir aussi

Référence

websvcSiteData, espace de noms
Microsoft.SharePoint.Administration, espace de noms
SPContext, classe
SPIisSettings, classe