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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。