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