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 继承。)
公共属性 TargetRecoveryTime Returns target recovery time setting of a database. (从 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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间