Export (0) Print
Expand All

DatabaseAdapterBase Class

Represents a database adapter base.

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

public class DatabaseAdapterBase implements IRefreshable, IAlterable

The DatabaseAdapterBase type exposes the following members.

  NameDescription
Public methodDatabaseAdapterBaseInitializes a new instance of the DatabaseAdapterBase class for the specified object.
Top

  NameDescription
Public propertyAutoCloseGets or sets a value that indicates whether the AutoClose is on.
Public propertyAutoShrinkGets or sets a value that indicates whether the AutoShrink is on.
Protected propertyDatabaseGets the database that is associated with the AdapterBase object.
Public propertyDelayedDurabilityGets or sets the delayed durability setting of a database.
Public propertyIsSystemObjectGets the Boolean value that specifies whether the adapter base is a system object or not.
Public propertyLastBackupDateGets a Datetime object that indicates the time of the last backup.
Public propertyLastLogBackupDateGets a Datetime object that indicates the time of the last log backup.
Public propertyPageVerifyGets a Boolean value that indicates whether the PageVerify setting is set to checksum.
Public propertyReadOnlyGets or sets a value that indicates whether database is set to read-only.
Public propertyRecoveryModelGets or sets the database adapter recovery model.
Public propertySizeGets the database size in megabytes (MB).
Public propertyStatusGets the database status.
Public propertyTargetRecoveryTimeReturns target recovery time setting of a database.
Public propertyTrustworthyGets or sets a value that indicates whether database is set to Trustworthy.
Top

  NameDescription
Public methodAlterAlters database adapter base properties.
Protected methodDataFileVolumeNotInReturns a Boolean value that is associated with the database adapter base.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetVolumeReturns the volume name as it appears in the PATH variable.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRefreshRefreshes the database adapter.
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft