共用方式為


DatabasePerformanceAdapter 類別

The Database Performance facet implements logical properties relevant to database performance management.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAdapterBase
    Microsoft.SqlServer.Management.Smo..::..DatabasePerformanceAdapter

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Class DatabasePerformanceAdapter _
    Inherits DatabaseAdapterBase _
    Implements IDmfAdapter, IDatabasePerformanceFacet, IDmfFacet
'用途
Dim instance As DatabasePerformanceAdapter
public class DatabasePerformanceAdapter : DatabaseAdapterBase, 
    IDmfAdapter, IDatabasePerformanceFacet, IDmfFacet
public ref class DatabasePerformanceAdapter : public DatabaseAdapterBase, 
    IDmfAdapter, IDatabasePerformanceFacet, IDmfFacet
type DatabasePerformanceAdapter =  
    class
        inherit DatabaseAdapterBase
        interface IDmfAdapter
        interface IDatabasePerformanceFacet
        interface IDmfFacet
    end
public class DatabasePerformanceAdapter extends DatabaseAdapterBase implements IDmfAdapter, IDatabasePerformanceFacet, IDmfFacet

DatabasePerformanceAdapter 型別公開下列成員。

建構函式

  名稱 說明
公用方法 DatabasePerformanceAdapter The Database Performance facet implements logical properties relevant to database performance management

上層

屬性

  名稱 說明
公用屬性 AutoClose Gets or sets a Boolean value (繼承自 DatabaseAdapterBase。)
公用屬性 AutoShrink Gets or sets a Boolean value (繼承自 DatabaseAdapterBase。)
公用屬性 CollationMatchesModelOrMaster Specifies if the collation of the database matches master or model.
公用屬性 DataAndLogFilesOnSeparateLogicalVolumes Specifies if data and log files are on separate 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 all the database objects and properties used by the Database Performance facet. (覆寫 DatabaseAdapterBase. . :: . .Refresh() () () ()。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。