Share via


DatabaseAdapterBase Class

Definition

public class DatabaseAdapterBase : Microsoft.SqlServer.Management.Common.IAlterable, Microsoft.SqlServer.Management.Common.IRefreshable
type DatabaseAdapterBase = class
    interface IRefreshable
    interface IAlterable
Public Class DatabaseAdapterBase
Implements IAlterable, IRefreshable
Inheritance
DatabaseAdapterBase
Derived
Implements

Constructors

DatabaseAdapterBase(Database)

Properties

AutoClose

Returns true if the database has auto-close set to ON.

AutoShrink

Returns true if the database has auto-shrink option enabled.

Database
DelayedDurability

Returns delayed durability setting of a database.

IsSystemObject
LastBackupDate
LastLogBackupDate
PageVerify

Returns true if the PAGE_VERIFY setting of a database is set to CHECKSUM.

ReadOnly

Returns true if the database is read-only.

RecoveryModel

Returns the database recovery model.

Size
Status
TargetRecoveryTime

Returns target recovery time setting of a database.

Trustworthy

Methods

Alter()
DataFileVolumeNotIn(List<String>)

This method compares the drive letter from files in the filegroups against the drive letters in the checkDrives parameter. If any one file drive letter is in the list of checkVolumes, then the function returns true otherwise it returns false.

GetVolume(String)
Refresh()

Applies to