Classe DatabaseAdapter
Database Adapter type to be used as a management facet.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Management.Smo.DatabaseAdapterBase
Microsoft.SqlServer.Management.Smo.DatabaseAdapter
Microsoft.SqlServer.Management.Smo.DatabaseMaintenanceAdapter
Microsoft.SqlServer.Management.Smo.DatabaseSecurityAdapter
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Class DatabaseAdapter _
Inherits DatabaseAdapterBase _
Implements IDmfAdapter, IDmfFacet
'Uso
Dim instance As DatabaseAdapter
public class DatabaseAdapter : DatabaseAdapterBase,
IDmfAdapter, IDmfFacet
public ref class DatabaseAdapter : public DatabaseAdapterBase,
IDmfAdapter, IDmfFacet
type DatabaseAdapter =
class
inherit DatabaseAdapterBase
interface IDmfAdapter
interface IDmfFacet
end
public class DatabaseAdapter extends DatabaseAdapterBase implements IDmfAdapter, IDmfFacet
O tipo DatabaseAdapter expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
DatabaseAdapter | Creates an instance of the Database Adapter class |
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.) | |
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.) | |
TargetRecoveryTime | Returns target recovery time setting of a database. (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 the database adapter. (Herdado de DatabaseAdapterBase.) | |
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.