SP.Site Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.Site class.

Methods

Name

Description

getCatalog

Specifies the list template gallery, site template gallery, Web Part gallery, master page gallery, or other galleries from the site collection, including custom galleries that are defined by users.

getChanges

Specifies the collection of the site collection changes from the change log that have occurred within the scope of the site collection, based on the specified query.

getCustomListTemplates

Specifies the collection of custom list templates for a given site.

initPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

openWeb

Opens a new site using the specified URL.

openWebById

Returns the site with the specified GUID.

Site

Initializes a new instance of the SP.Site Class.

Applies To

SP.Site Class

See Also

Reference

SP.Site Properties

SP Namespace