Dela via


DatabasePerformanceAdapter Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Class DatabasePerformanceAdapter _
    Inherits DatabaseAdapterBase _
    Implements IDmfAdapter, IDatabasePerformanceFacet, IDmfFacet
'Usage
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

The DatabasePerformanceAdapter type exposes the following members.

Constructors

  Name Description
Public method DatabasePerformanceAdapter The Database Performance facet implements logical properties relevant to database performance management

Top

Properties

  Name Description
Public property AutoClose Gets or sets a Boolean value (Inherited from DatabaseAdapterBase.)
Public property AutoShrink Gets or sets a Boolean value (Inherited from DatabaseAdapterBase.)
Public property CollationMatchesModelOrMaster Specifies if the collation of the database matches master or model.
Public property DataAndLogFilesOnSeparateLogicalVolumes Specifies if data and log files are on separate volumes.
Protected property Database Gets the database that is associated with the AdapterBase object. (Inherited from DatabaseAdapterBase.)
Public property IsSystemObject Gets the Boolean value that specifies whether the adapter base is a system object or not. (Inherited from DatabaseAdapterBase.)
Public property LastBackupDate Gets a Datetime object that indicates the time of the last backup. (Inherited from DatabaseAdapterBase.)
Public property LastLogBackupDate Gets a Datetime object that indicates the time of the last log backup. (Inherited from DatabaseAdapterBase.)
Public property PageVerify Gets a Boolean value that indicates whether the PageVerify setting is set to checksum. (Inherited from DatabaseAdapterBase.)
Public property ReadOnly Gets or sets a Boolean value. (Inherited from DatabaseAdapterBase.)
Public property RecoveryModel Gets or sets the database adapter recovery model. (Inherited from DatabaseAdapterBase.)
Public property Size Gets the database size in megabytes (MB). (Inherited from DatabaseAdapterBase.)
Public property Status Gets the database status. (Inherited from DatabaseAdapterBase.)
Public property Trustworthy Gets or sets a Boolean property for the database adapter base. (Inherited from DatabaseAdapterBase.)

Top

Methods

  Name Description
Public method Alter Alters database adapter base properties. (Inherited from DatabaseAdapterBase.)
Protected method DataFileVolumeNotIn Returns a Boolean value that is associated with the database adapter base. (Inherited from DatabaseAdapterBase.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetVolume Returns the volume name as it appears in the PATH variable. (Inherited from DatabaseAdapterBase.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Refresh Refreshes all the database objects and properties used by the Database Performance facet. (Overrides DatabaseAdapterBase.Refresh().)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.