Classe DatabasePerformanceAdapter
The Database Performance facet implements logical properties relevant to database performance management.
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAdapterBase
Microsoft.SqlServer.Management.Smo..::..DatabasePerformanceAdapter
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Class DatabasePerformanceAdapter _
Inherits DatabaseAdapterBase _
Implements IDmfAdapter, IDatabasePerformanceFacet, IDmfFacet
'Uso
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
O tipo DatabasePerformanceAdapter expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
DatabasePerformanceAdapter | The Database Performance facet implements logical properties relevant to database performance management |
Início
Propriedades
Nome | Descrição | |
---|---|---|
AutoClose | Gets or sets a Boolean value (Herdado de DatabaseAdapterBase.) | |
AutoShrink | Gets or sets a Boolean value (Herdado de 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. (Herdado de DatabaseAdapterBase.) | |
IsSystemObject | Gets the Boolean value that specifies whether the adapter base is a system object or not. (Herdado de DatabaseAdapterBase.) | |
LastBackupDate | Gets a Datetime object that indicates the time of the last backup. (Herdado de DatabaseAdapterBase.) | |
LastLogBackupDate | Gets a Datetime object that indicates the time of the last log backup. (Herdado de DatabaseAdapterBase.) | |
PageVerify | Gets a Boolean value that indicates whether the PageVerify setting is set to checksum. (Herdado de DatabaseAdapterBase.) | |
ReadOnly | Gets or sets a Boolean value. (Herdado de DatabaseAdapterBase.) | |
RecoveryModel | Gets or sets the database adapter recovery model. (Herdado de DatabaseAdapterBase.) | |
Size | Gets the database size in megabytes (MB). (Herdado de DatabaseAdapterBase.) | |
Status | Gets the database status. (Herdado de DatabaseAdapterBase.) | |
Trustworthy | Gets or sets a Boolean property for the database adapter base. (Herdado de DatabaseAdapterBase.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Alter | Alters database adapter base properties. (Herdado de DatabaseAdapterBase.) | |
DataFileVolumeNotIn | Returns a Boolean value that is associated with the database adapter base. (Herdado de DatabaseAdapterBase.) | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
GetVolume | Returns the volume name as it appears in the PATH variable. (Herdado de DatabaseAdapterBase.) | |
MemberwiseClone | (Herdado de Object.) | |
Refresh | Refreshes all the database objects and properties used by the Database Performance facet. (Substitui DatabaseAdapterBase. . :: . .Refresh() () () ().) | |
ToString | (Herdado de Object.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.