Membres SPContentDatabase (Microsoft.SharePoint.Administration)
Represents a content database that is part of a Windows SharePoint Services deployment.
Les tableaux suivants contiennent la liste des membres exposés par le type SPContentDatabase .
Constructeurs publics
Nom | Description | |
---|---|---|
SPContentDatabase | Ce membre est réservé à un usage interne et n'a pas été conçu pour être utilisé directement à partir du code. |
Haut de page
Champs protégés
Nom | Description | |
---|---|---|
SqlDatabaseOption | Specifies SQL database options that are used in Transact-SQL statements. (hérité de SPDatabase) |
Haut de page
Propriétés publiques
Nom | Description | |
---|---|---|
CanMigrate | Returns a value that indicates whether the content database can be migrated. | |
CanRenameOnRestore | Gets a Boolean value that indicates whether the database can be renamed when it is restored.(hérité de SPDatabase) | |
CanSelectForBackup | Gets or sets a Boolean value that specifies whether the database object and its children can be selected for a backup operation in the Central Administration user interface. (hérité de SPDatabase) | |
CanSelectForRestore | Gets or sets a Boolean value that specifies whether this object and its children can be selected for a restore operation in the Central Administration user interface. (hérité de SPDatabase) | |
CanUpgrade | Gets a value that indicates whether the object can be upgraded.(hérité de SPPersistedUpgradableObject) | |
CurrentChangeToken | Gets the change token used to log the next change in the change log for the content database. | |
CurrentSiteCount | Gets the current number of site collections that are represented in the content database. | |
DatabaseConnectionString | Gets the connection string that is used to connect to the database. (hérité de SPDatabase) | |
DiskSizeRequired | Gets the amount of disk space that is required for a backup.(hérité de SPDatabase) | |
DisplayName | Gets the display name that describes the persisted object instance within the administrative user interface.(hérité de SPPersistedObject) | |
Exists | Gets a Boolean value that indicates whether the database exists.(hérité de SPDatabase) | |
Farm | Gets the server farm where the object lives.(hérité de SPPersistedObject) | |
Id | Gets or sets the GUID that is associated with the object. (hérité de SPPersistedObject) | |
ID | Use the Id property of the SPPersistedObject class instead. (In Windows SharePoint Services 2.0, the ID property returns the GUID of the content database and is maintained for backward compatibility.) Obsolète. | |
IsPaired | Gets or sets a Boolean value that specifies whether the content database is paired to a Windows SharePoint Services 2.0 content database. | |
IsReadOnly | (hérité de SPDatabase) | |
MaximumSiteCount | Gets or sets the maximum number of sites that can be represented in the content database. | |
Name | Gets or sets the name that identifies a particular instance of the object.(hérité de SPPersistedObject) | |
NeedsUpgrade | Gets or sets a Boolean value that specifies whether the object needs to be upgraded.(hérité de SPPersistedUpgradableObject) | |
NeedsUpgradeIncludeChildren | Gets a Boolean value that indicates whether the object should be upgraded, considering the children of the object.(hérité de SPPersistedUpgradableObject) | |
Parent | Gets the ID of the parent class that declares the object.(hérité de SPPersistedObject) | |
Password | Gets or sets the password that is used for SQL authentication.(hérité de SPDatabase) | |
Properties | Gets a property bag that is used to store properties for the persisted object.(hérité de SPPersistedObject) | |
SearchServiceInstance | Gets or sets an instance of the search service that is associated with the content database. | |
Server | Gets the name of the database server that contains the content database. | |
ServiceInstance | Gets an instance of the SQL service that owns the database.(hérité de SPDatabase) | |
Sites | Gets the collection of site collections that are represented in the content database. | |
Status | Gets or sets the status of the object that the class represents.(hérité de SPPersistedObject) | |
TypeName | Substitué. Gets the display name that is used to describe the object type in the administration user interface. | |
UpgradeContext | Gets additional upgrade context. (hérité de SPPersistedUpgradableObject) | |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (hérité de SPAutoSerializingObject) | |
Username | Gets or sets the user name that is used for SQL authentication login.(hérité de SPDatabase) | |
Version | Gets the time that the object was last updated.(hérité de SPPersistedObject) | |
WarningSiteCount | Gets or sets the number of sites that can be created before a warning event is generated and the owner of the site collection is notified. | |
WebApplication | Gets the Web application that uses the content database. |
Haut de page
Méthodes publiques
(voir aussi Méthodes protégées )
Nom | Description | |
---|---|---|
AddBackupObjects | Substitué. Adds the content database to the backup/restore job. This method implements the AddBackupObjects method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPContentDatabase class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface, but this method is only intended to be callable from Windows SharePoint Services catastrophic backup and restore infrastructure code. | |
ChangeDatabaseInstance | (hérité de SPDatabase) | |
Clone | Returns a clone of the object that does not come from the in-memory cache, which enables calling code to help ensure thread safety.(hérité de SPPersistedObject) | |
Delete | Substitué. Deletes the content database. | |
Equals | Surchargé. (hérité de SPPersistedObject) | |
GenerateConnectionStringForProvisioning | (hérité de SPDatabase) | |
GenerateRandomName | (hérité de SPDatabase) | |
GetActiveWorkItems | Gets the collection of work items that are associated with the content database, based on the specified work item type. | |
GetChanges | Surchargé. Queries the change log and returns a collection of changes recorded for the content database. | |
GetChild | Surchargé. (hérité de SPPersistedObject) | |
GetHashCode | Serves as a hash function for the persisted object.(hérité de SPPersistedObject) | |
GetObjectData | (hérité de SPAutoSerializingObject) | |
GetType | (hérité de Object) | |
GetWorkItems | Returns the individual work items, number of columns, and number of rows in the specified work item collection as output parameters. | |
Invalidate | Invalidates computed property values of the IUpgradable interface.(hérité de SPPersistedUpgradableObject) | |
Migrate | Surchargé. Migrates settings from the content database. | |
OnAbort | (hérité de SPDatabase) | |
OnBackup | (hérité de SPDatabase) | |
OnBackupComplete | (hérité de SPDatabase) | |
OnPostRestore | Substitué. Called after the content database has been restored. This method implements the OnPostRestore method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPContentDatabase class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface; however, this method should only be called from Windows SharePoint Services catastrophic backup and restore infrastructure code. | |
OnPrepareBackup | Substitué. Called before the content database backup begins. This method implements the OnPrepareBackup method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPContentDatabase class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface; however, this method should only be called from Windows SharePoint Services catastrophic backup and restore infrastructure code. | |
OnPreRestore | Substitué. Called before restoration of the specified content database begins. This method implements the OnPreRestore method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPContentDatabase class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface; however, this method should only be called from Windows SharePoint Services catastrophic backup and restore infrastructure code. | |
OnRestore | Substitué. Called when restoration of the specified content database begins. This method implements the OnRestore method that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface. The SPContentDatabase class can be backed up and restored and must therefore implement the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface; however, this method is only intended to be callable from Windows SharePoint Services catastrophic backup and restore infrastructure code. | |
op_Equality | (hérité de SPPersistedObject) | |
op_Inequality | (hérité de SPPersistedObject) | |
Provision | Surchargé. Substitué. Creates the content database. | |
ReferenceEquals | (hérité de Object) | |
Repair | Repairs the content database. | |
ToString | Returns the type and name of an object and of all its ancestors (parent, grandparent, and so on).(hérité de SPPersistedObject) | |
Uncache | Frees the memory cache that is used by the object.(hérité de SPPersistedObject) | |
Unprovision | Makes the necessary changes to the local server to clean up after deleting the database.(hérité de SPDatabase) | |
Update | Surchargé. (hérité de SPDatabase) | |
Upgrade | Surchargé. Upgrades the object. |
Haut de page
Méthodes protégées
Nom | Description | |
---|---|---|
Finalize | (hérité de Object) | |
MemberwiseClone | (hérité de Object) | |
OnDeserialization | Called immediately after the base class deserializes itself to do additional work.(hérité de SPPersistedObject) | |
Provision | Surchargé. (hérité de SPDatabase) | |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (hérité de SPAutoSerializingObject) | |
Validate | Substitué. Validates the state of the content database before persisting it. |
Haut de page
Voir aussi
Référence
SPContentDatabase, classe
Microsoft.SharePoint.Administration, espace de noms