DatabaseAdapterBase Class

Database adapter base.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.DatabaseAdapterBase
    Microsoft.SqlServer.Management.Smo.DatabaseAdapter
    Microsoft.SqlServer.Management.Smo.DatabasePerformanceAdapter

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Class DatabaseAdapterBase _
    Implements IRefreshable, IAlterable
'Usage
Dim instance As DatabaseAdapterBase
public class DatabaseAdapterBase : IRefreshable, 
    IAlterable
public ref class DatabaseAdapterBase : IRefreshable, 
    IAlterable
type DatabaseAdapterBase =  
    class 
        interface IRefreshable 
        interface IAlterable 
    end
public class DatabaseAdapterBase implements IRefreshable, IAlterable

The DatabaseAdapterBase type exposes the following members.

Constructors

  Name Description
Public method DatabaseAdapterBase Initializes a new instance of the DatabaseAdapterBase class for the specified object.

Top

Properties

  Name Description
Public property AutoClose Gets or sets a Boolean value
Public property AutoShrink Gets or sets a Boolean value
Protected property Database Gets the database that is associated with the AdapterBase object.
Public property IsSystemObject Gets the Boolean value that specifies whether the adapter base is a system object or not.
Public property LastBackupDate Gets a Datetime object that indicates the time of the last backup.
Public property LastLogBackupDate Gets a Datetime object that indicates the time of the last log backup.
Public property PageVerify Gets a Boolean value that indicates whether the PageVerify setting is set to checksum.
Public property ReadOnly Gets or sets a Boolean value.
Public property RecoveryModel Gets or sets the database adapter recovery model.
Public property Size Gets the database size in megabytes (MB).
Public property Status Gets the database status.
Public property TargetRecoveryTime Returns target recovery time setting of a database.
Public property Trustworthy Gets or sets a Boolean property for the database adapter base.

Top

Methods

  Name Description
Public method Alter Alters database adapter base properties.
Protected method DataFileVolumeNotIn Returns a Boolean value that is associated with the database adapter base.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetVolume Returns the volume name as it appears in the PATH variable.
Protected method MemberwiseClone (Inherited from Object.)
Public method Refresh Refreshes the database adapter.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace