Classe DatabaseMaintenanceAdapter
The Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class.
Gerarchia di ereditarietà
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAdapterBase
Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAdapter
Microsoft.SqlServer.Management.Smo..::..DatabaseMaintenanceAdapter
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Class DatabaseMaintenanceAdapter _
Inherits DatabaseAdapter _
Implements IDatabaseMaintenanceFacet, IDmfFacet
'Utilizzo
Dim instance As DatabaseMaintenanceAdapter
public class DatabaseMaintenanceAdapter : DatabaseAdapter,
IDatabaseMaintenanceFacet, IDmfFacet
public ref class DatabaseMaintenanceAdapter : public DatabaseAdapter,
IDatabaseMaintenanceFacet, IDmfFacet
type DatabaseMaintenanceAdapter =
class
inherit DatabaseAdapter
interface IDatabaseMaintenanceFacet
interface IDmfFacet
end
public class DatabaseMaintenanceAdapter extends DatabaseAdapter implements IDatabaseMaintenanceFacet, IDmfFacet
Nel tipo DatabaseMaintenanceAdapter sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
DatabaseMaintenanceAdapter | The Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
AutoClose | Gets or sets a Boolean value Ereditato da DatabaseAdapterBase. | |
AutoShrink | Gets or sets a Boolean value Ereditato da DatabaseAdapterBase. | |
DataAndBackupOnSeparateLogicalVolumes | Returns a Boolean value that specifies whether the data and backup files are on separate logical volumes. | |
Database | Gets the database that is associated with the AdapterBase object. Ereditato da DatabaseAdapterBase. | |
IsSystemObject | Gets the Boolean value that specifies whether the adapter base is a system object or not. Ereditato da DatabaseAdapterBase. | |
LastBackupDate | Gets a Datetime object that indicates the time of the last backup. Ereditato da DatabaseAdapterBase. | |
LastLogBackupDate | Gets a Datetime object that indicates the time of the last log backup. Ereditato da DatabaseAdapterBase. | |
PageVerify | Gets a Boolean value that indicates whether the PageVerify setting is set to checksum. Ereditato da DatabaseAdapterBase. | |
ReadOnly | Gets or sets a Boolean value. Ereditato da DatabaseAdapterBase. | |
RecoveryModel | Gets or sets the database adapter recovery model. Ereditato da DatabaseAdapterBase. | |
Size | Gets the database size in megabytes (MB). Ereditato da DatabaseAdapterBase. | |
Status | Gets the database status. Ereditato da DatabaseAdapterBase. | |
Trustworthy | Gets or sets a Boolean property for the database adapter base. Ereditato da DatabaseAdapterBase. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
Alter | Alters database adapter base properties. Ereditato da DatabaseAdapterBase. | |
DataFileVolumeNotIn | Returns a Boolean value that is associated with the database adapter base. Ereditato da DatabaseAdapterBase. | |
Equals | Ereditato da Object. | |
Finalize | Ereditato da Object. | |
GetHashCode | Ereditato da Object. | |
GetType | Ereditato da Object. | |
GetVolume | Returns the volume name as it appears in the PATH variable. Ereditato da DatabaseAdapterBase. | |
MemberwiseClone | Ereditato da Object. | |
Refresh | Refreshes the database adapter. Ereditato da DatabaseAdapterBase. | |
ToString | Ereditato da Object. |
In alto
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.