Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPSiteCollection Methods

Windows SharePoint Services 3

The SPSiteCollection type exposes the following members.

  NameDescription
Public method Add(String, String, String) Creates an SPSite object based on the specified URL and on the user name and e-mail address of the owner of the site collection.
Public method Add(String, String, String, UInt32, String, String, String, String) Creates an SPSite object in the collection based on the specified URL, title, description, locale identifier (LCID), and site definition or site template, as well as on the user name, user display name, and e-mail address of the owner of the site collection.
Public method Add(String, String, String, UInt32, String, String, String, String, String, String, String) Creates an SPSite object in the collection based on the specified URL, title, description, locale identifier (LCID), and site definition or site template, as well as on the user name, user display name, and e-mail address of the owner of the site collection.
Public method Add(String, String, String, UInt32, String, String, String, String, String, String, String, Boolean) Creates an SPSite object in the collection based on the specified URL, title, description, locale identifier (LCID), and site definition or site template, as well as on the user names, user display names, and e-mail addresses of both the collection owner and a secondary contact.
Public method Add(String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String) Creates an SPSite object in the collection based on the specified URL, title, description, locale identifier (LCID), and site definition or site template, as well as on the user names, user display names, and e-mail addresses of both the collection owner and a secondary contact, and on the database server, name for the new database, and the user name and password of the database administrator.
Public method Backup Creates a backup file for the site collection located at the specified URL.
Public method Delete(String) Deletes the specified SPSite object from the collection.
Public method Delete(String, Boolean) Deletes the specified SPSite object from the collection with the option of deleting Active Directory Domain Services accounts that were created for this site collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Retrieves the data required to serialize the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method Restore(String, String, Boolean) Restores the specified SPSite object to the collection.
Public method Restore(String, String, Boolean, Boolean) Restores the specified SPSite object to the collection and specifies whether to use the host header as the name of the site collection.
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.