DatabaseMaintenanceAdapter 类
The Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAdapterBase
Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAdapter
Microsoft.SqlServer.Management.Smo..::..DatabaseMaintenanceAdapter
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Class DatabaseMaintenanceAdapter _
Inherits DatabaseAdapter _
Implements IDatabaseMaintenanceFacet, IDmfFacet
用法
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
DatabaseMaintenanceAdapter 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
DatabaseMaintenanceAdapter | The Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class. |
页首
属性
名称 | 说明 | |
---|---|---|
AutoClose | Gets or sets a Boolean value (从 DatabaseAdapterBase 继承。) | |
AutoShrink | Gets or sets a Boolean value (从 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. (从 DatabaseAdapterBase 继承。) | |
IsSystemObject | Gets the Boolean value that specifies whether the adapter base is a system object or not. (从 DatabaseAdapterBase 继承。) | |
LastBackupDate | Gets a Datetime object that indicates the time of the last backup. (从 DatabaseAdapterBase 继承。) | |
LastLogBackupDate | Gets a Datetime object that indicates the time of the last log backup. (从 DatabaseAdapterBase 继承。) | |
PageVerify | Gets a Boolean value that indicates whether the PageVerify setting is set to checksum. (从 DatabaseAdapterBase 继承。) | |
ReadOnly | Gets or sets a Boolean value. (从 DatabaseAdapterBase 继承。) | |
RecoveryModel | Gets or sets the database adapter recovery model. (从 DatabaseAdapterBase 继承。) | |
Size | Gets the database size in megabytes (MB). (从 DatabaseAdapterBase 继承。) | |
Status | Gets the database status. (从 DatabaseAdapterBase 继承。) | |
Trustworthy | Gets or sets a Boolean property for the database adapter base. (从 DatabaseAdapterBase 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Alter | Alters database adapter base properties. (从 DatabaseAdapterBase 继承。) | |
DataFileVolumeNotIn | Returns a Boolean value that is associated with the database adapter base. (从 DatabaseAdapterBase 继承。) | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
GetVolume | Returns the volume name as it appears in the PATH variable. (从 DatabaseAdapterBase 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
Refresh | Refreshes the database adapter. (从 DatabaseAdapterBase 继承。) | |
ToString | (从 Object 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。