DatabaseAdapterBase DatabaseAdapterBase DatabaseAdapterBase Class

Definition

Represents a database adapter base.

public ref class DatabaseAdapterBase : Microsoft::SqlServer::Management::Common::IAlterable, Microsoft::SqlServer::Management::Common::IRefreshable
public class DatabaseAdapterBase : Microsoft.SqlServer.Management.Common.IAlterable, Microsoft.SqlServer.Management.Common.IRefreshable
Public Class DatabaseAdapterBase
Implements IAlterable, IRefreshable
Inheritance
DatabaseAdapterBaseDatabaseAdapterBaseDatabaseAdapterBase
Derived
Implements
Microsoft.SqlServer.Management.Common.IAlterableMicrosoft.SqlServer.Management.Common.IAlterableMicrosoft.SqlServer.Management.Common.IAlterable Microsoft.SqlServer.Management.Common.IRefreshableMicrosoft.SqlServer.Management.Common.IRefreshableMicrosoft.SqlServer.Management.Common.IRefreshable

Constructors

DatabaseAdapterBase(Database) DatabaseAdapterBase(Database) DatabaseAdapterBase(Database)

Initializes a new instance of the DatabaseAdapterBase class for the specified object.

Properties

AutoClose AutoClose AutoClose

Gets or sets a value that indicates whether the AutoClose is on.

AutoShrink AutoShrink AutoShrink

Gets or sets a value that indicates whether the AutoShrink is on.

Database Database Database

Gets the database that is associated with the AdapterBase object.

DelayedDurability DelayedDurability DelayedDurability

Gets or sets the delayed durability setting of a database.

IsSystemObject IsSystemObject IsSystemObject

Gets the Boolean value that specifies whether the adapter base is a system object or not.

LastBackupDate LastBackupDate LastBackupDate

Gets a Datetime object that indicates the time of the last backup.

LastLogBackupDate LastLogBackupDate LastLogBackupDate

Gets a Datetime object that indicates the time of the last log backup.

PageVerify PageVerify PageVerify

Gets a Boolean value that indicates whether the PageVerify setting is set to checksum.

ReadOnly ReadOnly ReadOnly

Gets or sets a value that indicates whether database is set to read-only.

RecoveryModel RecoveryModel RecoveryModel

Gets or sets the database adapter recovery model.

Size Size Size

Gets the database size in megabytes (MB).

Status Status Status

Gets the database status.

TargetRecoveryTime TargetRecoveryTime TargetRecoveryTime

Returns target recovery time setting of a database.

Trustworthy Trustworthy Trustworthy

Gets or sets a value that indicates whether database is set to Trustworthy.

Methods

Alter() Alter() Alter()

Alters database adapter base properties.

DataFileVolumeNotIn(List<String>) DataFileVolumeNotIn(List<String>) DataFileVolumeNotIn(List<String>)

Returns a Boolean value that is associated with the database adapter base.

GetVolume(String) GetVolume(String) GetVolume(String)

Returns the volume name as it appears in the PATH variable.

Refresh() Refresh() Refresh()

Refreshes the database adapter.

Applies to