SP.Web Methods
Applies to: SharePoint Foundation 2010
The following table lists the methods of the SP.Web class.
Methods
Name |
Description |
---|---|
Applies the specified site definition or site template to the website that has no template applied to it. |
|
Deletes the Web site. |
|
Returns whether the current user has the given set of permissions. |
|
Adds the user with the specified login name to the website. |
|
Returns a collection of site templates available for the site. |
|
Gets the list template gallery, site template gallery, or Web Part gallery for the website. |
|
Returns the collection of all changes from the change log that have occurred within the scope of the site, based on the specified query. |
|
Returns the file object located at the specified server-relative URL. |
|
Returns the folder object located at the specified server-relative URL. |
|
Returns the collection of child sites of the current site based on the specified query. |
|
This member is reserved for internal use and is not intended to be used directly from your code. |
|
Returns the name of the image file for the icon that is used to represent the specified file. |
|
Updates the database with changes that are made to the Web site. |
|
This member is reserved for internal use and is not intended to be used directly from your code. |