SPSolution properties

The SPSolution type exposes the following members.

Properties

  Name Description
Public property Added Gets a value specifying whether a language-neutral solution package has been added to this solution.
Public property CanSelectForBackup Gets or sets whether this item can be selected by itself for backup operations.
Public property CanSelectForRestore Gets or sets whether this item can be selected by itself for restore operations.
Public property ContainsCasPolicy Gets a Boolean value that indicates whether the solution contains Code Access Security (CAS) policies.
Public property ContainsGlobalAssembly Returns a value indicating whether the solution contains an assembly that is installed in the global assembly cache.
Public property ContainsWebApplicationResource Gets a value indicating whether the solution contains any web application-specific resources to deploy.
Public property Deployed Returns a value indicating whether the solution is deployed to one or more web applications in the farm.
Public property DeployedServers Gets the collection of servers to which the solution is deployed.
Public property DeployedWebApplications Gets the collection of web applications to which this solution is deployed.
Public property DeploymentLocked (Inherited from SPPersistedObject.)
Public property DeploymentState Gets a value indicating whether the solution has been deployed, and if so, whether it has assemblies installed in the global assembly cache, in the application's bin directory, or both.
Public property DisplayName Gets the display name that describes the persisted object instance within the administrative user interface. (Inherited from SPPersistedObject.)
Public property Farm The farm on which this solution is installed.
Public property Id Gets or sets the GUID that is associated with the object. (Inherited from SPPersistedObject.)
Public property IsWebPartPackage Gets a value indicating whether the solution represents a Web Part package. Do not use. The concept of a "Web Part package" is obsolete.
Public property JobExists Specifies whether a timer job exists for this SPSolution.
Public property JobStatus Gets the job status that is associated with the language-neutral solution.
Public property LanguagePacks Returns the list of language packages associated with this solution.
Public property LastOperationDetails Returns details of the last operation while deploying the solution.
Public property LastOperationEndTime Returns the date and time that the last operation ended.
Public property LastOperationResult Returns the result of the last operation.
Public property Name Returns the name of the solution.
Public property Parent Gets the parent in the logical hierarchy of the configuration object tree. (Inherited from SPPersistedObject.)
Public property Properties Gets metadata for the persisted object. (Inherited from SPPersistedObject.)
Public property SolutionFile Returns the file associated with the solution.
Public property SolutionId Returns the solution id specified in the manifest file.
Public property Status Gets or sets the status of the object that the class represents. (Inherited from SPPersistedObject.)
Public property TypeName Gets the display name that describes the object type in the administrative user interface. (Inherited from SPPersistedObject.)
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property Version Gets a value that is incremented each time the object is updated. (Inherited from SPPersistedObject.)
Protected property WasCreated Gets a Boolean value that indicates whether the object is initialized and can be found in the database. (Inherited from SPPersistedObject.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate property IBackupRestore.CanRenameOnRestore Gets whether this item can be renamed at restore time.
Explicit interface implemetationPrivate property IBackupRestore.DiskSizeRequired Gets the disk size required for a backup operation.
Explicit interface implemetationPrivate property IBackupRestore.Name Gets or sets the name of the solution.
Explicit interface implemetationPrivate property IBackupRestoreConfiguration.CanBackupRestoreAsConfiguration Gets whether the item can be selectable during configuration-only backup or restore.

Top

See also

Reference

SPSolution class

Microsoft.SharePoint.Administration namespace