Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
type DatabaseAdapter =  
    class 
        inherit DatabaseAdapterBase 
        interface IDmfAdapter 
        interface IDmfFacet 
    end

The DatabaseAdapter type exposes the following members.

  NameDescription
Public methodDatabaseAdapterCreates an instance of the Database Adapter class
Top
  NameDescription
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.)
Top
  NameDescription
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.)
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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.