SPWeb Class

Definition

The LastContentModifiedDate property of the SPSite class is a System.DateTime object that gets in Coordinated Universal Time (UTC) the date and time when the content of the site was last changed.

public ref class SPWeb : Microsoft::SharePoint::SPSecurableObject, IDisposable
[Microsoft.SharePoint.Client.ClientCallableType(DeleteMethodClientName="DeleteObject", EntityKeyPropertyNames="ID", FactoryType=typeof(Microsoft.SharePoint.SPObjectFactory), Name="Web", ObjectIdentityPropertyName="CanonicalId", ObjectUrlPathPropertyName="Microsoft.SharePoint.SPObjectUrlPath.GetUrlPath", PatchUpdateMethodClientName="Update", PutUpdateMethodClientName="Update", SampleUrl="{apiroot}/web", ServerTypeId="{A489ADD2-5D3A-4de8-9445-49259462DCEB}")]
[Microsoft.SharePoint.Client.SubsetCallableType(ForcePolymorphicForReturnTypes=true)]
[Microsoft.SharePoint.Upgrade.Upgradable]
public class SPWeb : Microsoft.SharePoint.SPSecurableObject, IDisposable
type SPWeb = class
    inherit SPSecurableObject
    interface IDisposable
Public Class SPWeb
Inherits SPSecurableObject
Implements IDisposable
Inheritance
Attributes
Implements

Properties

Alerts
AllowAnonymousAccess
AllowAutomaticASPXPageIndexing
AllowCreateDeclarativeWorkflowForCurrentUser
AllowDesignerForCurrentUser
AllowMasterPageEditingForCurrentUser
AllowRevertFromTemplateForCurrentUser
AllowRssFeeds
AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser
AllowSavePublishDeclarativeWorkflowForCurrentUser
AllowUnsafeUpdates
AllProperties
AllRolesForCurrentUser (Inherited from SPSecurableObject)
AllUsers
AllWebTemplatesAllowed
AlternateCssUrl
AlternateHeader
AnonymousPermMask64
AnonymousState
AppDatabaseName
AppDatabaseServerReferenceId
AppDatabaseTargetApplicationId
AppInstanceId
ASPXPageIndexed
ASPXPageIndexMode
AssociatedGroups
AssociatedMemberGroup
AssociatedOwnerGroup
AssociatedVisitorGroup
Audit
AuthenticationMode
Author
AvailableContentTypes
AvailableFields
CacheAllSchema
ClientFormWebData
ClientTag
Configuration
ContentTypes
Created
CurrencyLocaleID
CurrentChangeToken
CurrentUser
CustomJavaScriptFileUrl
CustomMasterUrl
CustomUploadPage
DataRetrievalServicesSettings
Description
DescriptionResource
DesignerDownloadUrlForCurrentUser
DocTemplates
DocumentLibraryCalloutOfficeWebAppPreviewersDisabled
EffectiveBasePermissions
EffectivePresenceEnabled
EmailInsertsEnabled
EnableMinimalDownload
EventHandlersEnabled
EventReceivers
ExcludeFromOfflineClient
ExecuteUrl
Exists
ExternalSecurityProviderSetting
FeatureDefinitions
Features
Fields
FieldTypeDefinitionCollection
FileDialogPostProcessorId
Files
FirstUniqueAncestor (Inherited from SPSecurableObject)
FirstUniqueAncestorSecurableObject
FirstUniqueAncestorWeb
FirstUniqueRoleDefinitionWeb
Folders
Groups
HasExternalSecurityProvider
HasUniquePerm
HasUniqueRoleAssignments (Inherited from SPSecurableObject)
HasUniqueRoleDefinitions
HideSiteContentsLink
ID
IncludeSupportingFolders
IndexedPropertyKeys
IsADAccountCreationMode
IsADEmailEnabled
IsAppWeb
IsMultilingual
IsRootWeb
Language
LastItemModifiedDate
Lists
ListTemplates
Locale
MasterPageReferenceEnabled
MasterUrl
Modules
Name
Navigation
NoCrawl
NonHostHeaderUrl
OverwriteTranslationsOnChange
ParentWeb
ParentWebId
ParserEnabled
Permissions
PortalMember
PortalName
PortalSubscriptionUrl
PortalUrl
PresenceEnabled
Properties
Provisioned
PublicFolderRootUrl
PushNotificationSubscribers
QuickLaunchEnabled
RecycleBin
RecycleBinEnabled
RegionalSettings
RequestAccessEmail
RequestAccessEnabled
RequireDynamicCanary
ReusableAcl
RoleAssignments (Inherited from SPSecurableObject)
RoleDefinitions
Roles
RootFolder
SaveSiteAsTemplateEnabled
ServerRelativeUrl
ShowUrlStructureForCurrentUser
Site
SiteAdministrators
SiteClientTag
SiteGroups
SiteLogoDescription
SiteLogoUrl
SiteUserInfoList
SiteUsers
Solutions
SupportedUICultures
SyndicationEnabled
Theme
ThemeCssUrl
ThemedCssFolderUrl
ThemeInfo
Title
TitleResource
TreeViewEnabled
UICulture
UIVersion
UIVersionConfigurationEnabled
Url
UserCustomActions
UserIsSiteAdmin
UserIsWebAdmin
UserResources
Users
ViewStyles
Webs
WebTemplate
WebTemplateId
WorkflowAssociations
Workflows
WorkflowTemplates

Methods

AddApplicationPrincipal(String, Boolean, Boolean)
AddProperty(Object, Object)
AddSupportedUICulture(CultureInfo)
AllowAllWebTemplates()
ApplyTheme(String)
ApplyTheme(String, String, String, Boolean)
ApplyWebTemplate(SPWebTemplate)
ApplyWebTemplate(String)
BreakRoleInheritance(Boolean) (Inherited from SPSecurableObject)
BreakRoleInheritance(Boolean, Boolean)
BypassUseRemoteApis()
CheckPermissions(SPBasePermissions) (Inherited from SPSecurableObject)
Close()
CreateDefaultAssociatedGroups(String, String, String)
CustomizeCss(String)
Delete()
DeleteProperty(Object)
Dispose()
DoesPushNotificationSubscriberExist(Guid)
DoesUserHavePermissions(SPBasePermissions) (Inherited from SPSecurableObject)
DoesUserHavePermissions(String, SPBasePermissions)
EnsureUser(String)
ExportUserResources(CultureInfo, Boolean, Stream)
GetAppInstanceById(Guid)
GetAppInstancesByProductId(Guid)
GetAvailableCrossLanguageWebTemplates()
GetAvailableWebTemplates(UInt32)
GetAvailableWebTemplates(UInt32, Boolean)
GetCatalog(SPListTemplateType)
GetChanges()
GetChanges(SPChangeQuery)
GetChanges(SPChangeToken)
GetChanges(SPChangeToken, SPChangeToken)
GetFieldLocalizations(CultureInfo)
GetFile(Guid)
GetFile(String)
GetFileAsString(String)
GetFileOrFolderObject(String)
GetFilePersonalizationInformation(String, Boolean, SPFileLevel)
GetFolder(Guid)
GetFolder(String)
GetLimitedWebPartManager(String, PersonalizationScope)
GetList(String)
GetListFromUrl(String)
GetListFromWebPartPageUrl(String)
GetListItem(String)
GetListItemFields(String, String[])
GetListsOfType(SPBaseType)
GetObject(String)
GetProperty(Object)
GetPushNotificationSubscriber(Guid)
GetPushNotificationSubscribersByArgs(String)
GetPushNotificationSubscribersByUser(String)
GetRecycleBinItems(SPRecycleBinQuery)
GetServerRelativeUrlFromUrl(String)
GetSiteAppPrincipals()
GetSiteData(SPSiteDataQuery)
GetSubwebsForCurrentUser()
GetSubwebsForCurrentUser(Int32)
GetSubwebsForCurrentUser(Int32, Int16)
GetUsageData(SPUsageReportType, SPUsagePeriodType)
GetUsageData(SPUsageReportType, SPUsagePeriodType, Int32, DateTime)
GetUserEffectivePermissionInfo(String)
GetUserEffectivePermissions(String)
GetUserToken(String)
GetViewFromUrl(String)
GetWebPartCollection(String, Storage)
GetWebsAndListsWithUniquePermissions()
ImportUserResources(CultureInfo, Stream)
InsertAlertEvent(Guid, String, Int32, Byte[])
InsertAlertEvent(Guid, String, Int32, SPReusableAcl)
IsCurrentUserMemberOfGroup(Int32)
LoadAndInstallApp(Stream)
LoadAndInstallAppInSpecifiedLocale(Stream, Int32)
LoadApp(Stream, Int32)
OriginalBaseUrl(HttpRequest)
ProcessBatchData(String)
RecalculateWebFineGrainedPermissions()
Recycle()
RegisterPushNotificationSubscriber(Guid, String)
RemoveExternalSecurityProvider()
RemoveSupportedUICulture(CultureInfo)
ResetRoleInheritance()
RevertAllDocumentContentStreams()
RevertCss(String)
SaveAsTemplate(String, String, String, Boolean)
SearchDocuments(String)
SearchDocuments(String, UInt32, SPSearchResultCollectionPosition)
SearchListItems(String)
SearchListItems(String, UInt32, SPSearchResultCollectionPosition)
SetAvailableCrossLanguageWebTemplates(Collection<SPWebTemplate>)
SetAvailableWebTemplates(Collection<SPWebTemplate>, UInt32)
SetProperty(Object, Object)
ToString()
UnregisterPushNotificationSubscriber(Guid)
Update()
ValidateFormDigest()

Applies to