Classe DatabaseSecurityAdapter
Includes properties and methods that are used to expose the Database Security facet.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAdapterBase
Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAdapter
Microsoft.SqlServer.Management.Smo..::..DatabaseSecurityAdapter
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Class DatabaseSecurityAdapter _
Inherits DatabaseAdapter _
Implements IDatabaseSecurityFacet, IDmfFacet
'Utilisation
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
Le type DatabaseSecurityAdapter expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
DatabaseSecurityAdapter | Includes properties and methods that are used to expose the Database Security facet. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
AutoClose | Gets or sets a Boolean value (hérité de DatabaseAdapterBase.) | |
AutoShrink | Gets or sets a Boolean value (hérité de DatabaseAdapterBase.) | |
Database | Gets the database that is associated with the AdapterBase object. (hérité de 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. (hérité de DatabaseAdapterBase.) | |
LastBackupDate | Gets a Datetime object that indicates the time of the last backup. (hérité de DatabaseAdapterBase.) | |
LastLogBackupDate | Gets a Datetime object that indicates the time of the last log backup. (hérité de DatabaseAdapterBase.) | |
PageVerify | Gets a Boolean value that indicates whether the PageVerify setting is set to checksum. (hérité de DatabaseAdapterBase.) | |
ReadOnly | Gets or sets a Boolean value. (hérité de DatabaseAdapterBase.) | |
RecoveryModel | Gets or sets the database adapter recovery model. (hérité de DatabaseAdapterBase.) | |
Size | Gets the database size in megabytes (MB). (hérité de DatabaseAdapterBase.) | |
Status | Gets the database status. (hérité de DatabaseAdapterBase.) | |
Trustworthy | Gets or sets a Boolean property for the database adapter base. (hérité de DatabaseAdapterBase.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Alter | Alters database adapter base properties. (hérité de DatabaseAdapterBase.) | |
DataFileVolumeNotIn | Returns a Boolean value that is associated with the database adapter base. (hérité de DatabaseAdapterBase.) | |
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
GetVolume | Returns the volume name as it appears in the PATH variable. (hérité de DatabaseAdapterBase.) | |
MemberwiseClone | (hérité de Object.) | |
Refresh | Refreshes database security facet properties. (remplace DatabaseAdapterBase. . :: . .Refresh() () () ().) | |
ToString | (hérité de Object.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.