DatabasePerformanceAdapter-Klasse
The Database Performance facet implements logical properties relevant to database performance management.
Vererbungshierarchie
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
Der DatabasePerformanceAdapter-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
DatabasePerformanceAdapter | The Database Performance facet implements logical properties relevant to database performance management |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
AutoClose | Gets or sets a Boolean value (Geerbt von DatabaseAdapterBase.) | |
AutoShrink | Gets or sets a Boolean value (Geerbt von 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. (Geerbt von DatabaseAdapterBase.) | |
IsSystemObject | Gets the Boolean value that specifies whether the adapter base is a system object or not. (Geerbt von DatabaseAdapterBase.) | |
LastBackupDate | Gets a Datetime object that indicates the time of the last backup. (Geerbt von DatabaseAdapterBase.) | |
LastLogBackupDate | Gets a Datetime object that indicates the time of the last log backup. (Geerbt von DatabaseAdapterBase.) | |
PageVerify | Gets a Boolean value that indicates whether the PageVerify setting is set to checksum. (Geerbt von DatabaseAdapterBase.) | |
ReadOnly | Gets or sets a Boolean value. (Geerbt von DatabaseAdapterBase.) | |
RecoveryModel | Gets or sets the database adapter recovery model. (Geerbt von DatabaseAdapterBase.) | |
Size | Gets the database size in megabytes (MB). (Geerbt von DatabaseAdapterBase.) | |
Status | Gets the database status. (Geerbt von DatabaseAdapterBase.) | |
Trustworthy | Gets or sets a Boolean property for the database adapter base. (Geerbt von DatabaseAdapterBase.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Alter | Alters database adapter base properties. (Geerbt von DatabaseAdapterBase.) | |
DataFileVolumeNotIn | Returns a Boolean value that is associated with the database adapter base. (Geerbt von DatabaseAdapterBase.) | |
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
GetVolume | Returns the volume name as it appears in the PATH variable. (Geerbt von DatabaseAdapterBase.) | |
MemberwiseClone | (Geerbt von Object.) | |
Refresh | Refreshes all the database objects and properties used by the Database Performance facet. (Überschreibt DatabaseAdapterBase. . :: . .Refresh() () () ().) | |
ToString | (Geerbt von Object.) |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.