Share via


SPSolutionCollection members

Represents a collection of SPSolution objects.

The SPSolutionCollection type exposes the following members.

Constructors

  Name Description
Public method SPSolutionCollection Constructs a SPSolutionCollection object.

Top

Properties

  Name Description
Public property Count Gets the number of objects in the collection. (Inherited from SPPersistedObjectCollection<T>.)
Public property IsEmpty Gets a Boolean value that indicates whether the collection contains any objects. (Inherited from SPPersistedObjectCollection<T>.)
Public property Item[Guid] Gets the persisted object in the collection based on the specified GUID. (Inherited from SPPersistedObjectCollection<T>.)
Public property Item[String] Gets the persisted object in the collection based on the specified name. (Inherited from SPPersistedObjectCollection<T>.)
Protected property Parent Gets the parent object that declares this collection. (Inherited from SPPersistedObjectCollection<T>.)

Top

Methods

  Name Description
Public method Add(String) Adds a solution with the specified solution file to the collection of solutions.
Public method Add(SPSolution) Adds a solution to the collection of solutions. (Overrides SPPersistedChildCollection<T>.Add(T).)
Public method Add(String, UInt32) Adds a solution with the specified solution file and locale identifier to the collection of solutions.
Public method Ensure Adds an object to the collection and, if the object already exists, reinitializes it with the data of the existing object. (Inherited from SPPersistedChildCollection<T>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator that can be used to iterate through the collection. (Inherited from SPPersistedObjectCollection<T>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValue<U>() Retrieves an object from the collection with the specified type and the default name. (Inherited from SPPersistedObjectCollection<T>.)
Public method GetValue<U>(Guid) Retrieves an object from the collection with the specified ID and type. (Inherited from SPPersistedObjectCollection<T>.)
Public method GetValue<U>(String) Retrieves an object from the collection with the specified name and type. (Inherited from SPPersistedObjectCollection<T>.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove(Guid) Removes the solution with the specified GUID from the collection of solutions. (Overrides SPPersistedChildCollection<T>.Remove(Guid).)
Public method Remove(String) Removes the solution with the specified name from the collection of solutions.
Public method Remove(String, UInt32) Removes the solution with the specified name and locale identifier from the collection of solutions.
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator over all items in this list. (Inherited from SPPersistedObjectCollection<T>.)
Explicit interface implemetationPrivate method IBackupRestore.AddBackupObjects Adds the solution collection to the backup and restore operation.
Explicit interface implemetationPrivate property IBackupRestore.CanRenameOnRestore Gets whether this item can be renamed at restore time.
Explicit interface implemetationPrivate property IBackupRestore.CanSelectForBackup Gets or sets if the solution collection is selectable for a back-up operation.
Explicit interface implemetationPrivate property IBackupRestore.CanSelectForRestore Gets or sets if the solution collection is selectable for a restore operation.
Explicit interface implemetationPrivate property IBackupRestore.DiskSizeRequired Gets the disk size required for the back-up or restore operation.
Explicit interface implemetationPrivate property IBackupRestore.Id Gets or sets the unique identifier for the back-up of the solution collection.
Explicit interface implemetationPrivate property IBackupRestore.Name Gets the name of the solution collection for the back-up user interface.
Explicit interface implemetationPrivate method IBackupRestore.OnAbort An event that is called in the backup and restore infrastructure when the user cancels the operation.
Explicit interface implemetationPrivate method IBackupRestore.OnBackup An event that is called when the system is being backed up.
Explicit interface implemetationPrivate method IBackupRestore.OnBackupComplete The event that is called when the system is finished with the backup and restore procedure.
Explicit interface implemetationPrivate method IBackupRestore.OnPostRestore The event that is called when the system is finished restoring.
Explicit interface implemetationPrivate method IBackupRestore.OnPrepareBackup The event that is called when the system is preparing a backup operation.
Explicit interface implemetationPrivate method IBackupRestore.OnPreRestore The event that is called when the system is preparing a restore operation.
Explicit interface implemetationPrivate method IBackupRestore.OnRestore The event that is called when the system is being restored.
Explicit interface implemetationPrivate property IBackupRestoreConfiguration.CanBackupRestoreAsConfiguration Gets whether the solution collection is selectable during a configuration-only back or restore operation.

Top

See also

Reference

SPSolutionCollection class

Microsoft.SharePoint.Administration namespace