DatabaseSecurityAdapter Class
Includes properties and methods that are used to expose the Database Security facet.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.DatabaseAdapterBase
Microsoft.SqlServer.Management.Smo.DatabaseAdapter
Microsoft.SqlServer.Management.Smo.DatabaseSecurityAdapter
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Class DatabaseSecurityAdapter _
Inherits DatabaseAdapter _
Implements IDatabaseSecurityFacet, IDmfFacet
'Usage
Dim instance As DatabaseSecurityAdapter
public class DatabaseSecurityAdapter : DatabaseAdapter,
IDatabaseSecurityFacet, IDmfFacet
public ref class DatabaseSecurityAdapter : public DatabaseAdapter,
IDatabaseSecurityFacet, IDmfFacet
type DatabaseSecurityAdapter =
class
inherit DatabaseAdapter
interface IDatabaseSecurityFacet
interface IDmfFacet
end
public class DatabaseSecurityAdapter extends DatabaseAdapter implements IDatabaseSecurityFacet, IDmfFacet
The DatabaseSecurityAdapter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DatabaseSecurityAdapter | Includes properties and methods that are used to expose the Database Security facet. |
Top
Properties
Name | Description | |
---|---|---|
AutoClose | Gets or sets a Boolean value (Inherited from DatabaseAdapterBase.) | |
AutoShrink | Gets or sets a Boolean value (Inherited from DatabaseAdapterBase.) | |
Database | Gets the database that is associated with the AdapterBase object. (Inherited from DatabaseAdapterBase.) | |
IsOwnerSysadmin | Determines if the database owner has a sysadmin role. | |
IsSystemObject | Gets the Boolean value that specifies whether the adapter base is a system object or not. (Inherited from DatabaseAdapterBase.) | |
LastBackupDate | Gets a Datetime object that indicates the time of the last backup. (Inherited from DatabaseAdapterBase.) | |
LastLogBackupDate | Gets a Datetime object that indicates the time of the last log backup. (Inherited from DatabaseAdapterBase.) | |
PageVerify | Gets a Boolean value that indicates whether the PageVerify setting is set to checksum. (Inherited from DatabaseAdapterBase.) | |
ReadOnly | Gets or sets a Boolean value. (Inherited from DatabaseAdapterBase.) | |
RecoveryModel | Gets or sets the database adapter recovery model. (Inherited from DatabaseAdapterBase.) | |
Size | Gets the database size in megabytes (MB). (Inherited from DatabaseAdapterBase.) | |
Status | Gets the database status. (Inherited from DatabaseAdapterBase.) | |
TargetRecoveryTime | Returns target recovery time setting of a database. (Inherited from DatabaseAdapterBase.) | |
Trustworthy | Gets or sets a Boolean property for the database adapter base. (Inherited from DatabaseAdapterBase.) |
Top
Methods
Name | Description | |
---|---|---|
Alter | Alters database adapter base properties. (Inherited from DatabaseAdapterBase.) | |
DataFileVolumeNotIn | Returns a Boolean value that is associated with the database adapter base. (Inherited from DatabaseAdapterBase.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetVolume | Returns the volume name as it appears in the PATH variable. (Inherited from DatabaseAdapterBase.) | |
MemberwiseClone | (Inherited from Object.) | |
Refresh | Refreshes database security facet properties. (Overrides DatabaseAdapterBase.Refresh().) | |
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.