We recommend using Visual Studio 2017

DatabaseAdapter Class

Database Adapter type to be used as a management facet.

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

public class DatabaseAdapter : DatabaseAdapterBase, 
	IDmfAdapter, IDmfFacet

The DatabaseAdapter type exposes the following members.

Public methodDatabaseAdapterCreates an instance of the Database Adapter class

Public propertyAutoCloseGets or sets a Boolean value (Inherited from DatabaseAdapterBase.)
Public propertyAutoShrinkGets or sets a Boolean value (Inherited from DatabaseAdapterBase.)
Protected propertyDatabaseGets the database that is associated with the AdapterBase object. (Inherited from DatabaseAdapterBase.)
Public propertyIsSystemObjectGets the Boolean value that specifies whether the adapter base is a system object or not. (Inherited from DatabaseAdapterBase.)
Public propertyLastBackupDateGets a Datetime object that indicates the time of the last backup. (Inherited from DatabaseAdapterBase.)
Public propertyLastLogBackupDateGets a Datetime object that indicates the time of the last log backup. (Inherited from DatabaseAdapterBase.)
Public propertyPageVerifyGets a Boolean value that indicates whether the PageVerify setting is set to checksum. (Inherited from DatabaseAdapterBase.)
Public propertyReadOnlyGets or sets a Boolean value. (Inherited from DatabaseAdapterBase.)
Public propertyRecoveryModelGets or sets the database adapter recovery model. (Inherited from DatabaseAdapterBase.)
Public propertySizeGets the database size in megabytes (MB). (Inherited from DatabaseAdapterBase.)
Public propertyStatusGets the database status. (Inherited from DatabaseAdapterBase.)
Public propertyTargetRecoveryTimeReturns target recovery time setting of a database. (Inherited from DatabaseAdapterBase.)
Public propertyTrustworthyGets or sets a Boolean property for the database adapter base. (Inherited from DatabaseAdapterBase.)

Public methodAlterAlters database adapter base properties. (Inherited from DatabaseAdapterBase.)
Protected methodDataFileVolumeNotInReturns a Boolean value that is associated with the database adapter base. (Inherited from DatabaseAdapterBase.)
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. (Inherited from DatabaseAdapterBase.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRefreshRefreshes the database adapter. (Inherited from DatabaseAdapterBase.)
Public methodToString (Inherited from Object.)

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

Community Additions