Dela via


DatabaseEncryptionKeyExtender Class

Extends the database encryption key class.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<DatabaseEncryptionKey>
    Microsoft.SqlServer.Management.Smo.SmoObjectExtender<DatabaseEncryptionKey>
      Microsoft.SqlServer.Management.Smo.DatabaseEncryptionKeyExtender

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Class DatabaseEncryptionKeyExtender _
    Inherits SmoObjectExtender(Of DatabaseEncryptionKey) _
    Implements ISfcValidate
'Usage
Dim instance As DatabaseEncryptionKeyExtender
[CLSCompliantAttribute(false)]
public class DatabaseEncryptionKeyExtender : SmoObjectExtender<DatabaseEncryptionKey>, 
    ISfcValidate
[CLSCompliantAttribute(false)]
public ref class DatabaseEncryptionKeyExtender : public SmoObjectExtender<DatabaseEncryptionKey^>, 
    ISfcValidate
[<CLSCompliantAttribute(false)>]
type DatabaseEncryptionKeyExtender =  
    class
        inherit SmoObjectExtender<DatabaseEncryptionKey>
        interface ISfcValidate
    end
public class DatabaseEncryptionKeyExtender extends SmoObjectExtender<DatabaseEncryptionKey> implements ISfcValidate

The DatabaseEncryptionKeyExtender type exposes the following members.

Constructors

  Name Description
Public method DatabaseEncryptionKeyExtender() Creates a new database encryption key extender.
Public method DatabaseEncryptionKeyExtender(DatabaseEncryptionKey) Creates a new database encryption key extender.

Top

Properties

  Name Description
Public property AsymmetricKeyName Gets the name of the asymmetric key.
Public property AsymmetricKeyNames Gets a collection of asymmetric key names.
Public property CertificateName Gets the name of the certificate.
Public property CertificateNames Gets a collection of certificate names.
Public property DatabaseEncryptionEnabled Gets or sets a Boolean value that indicates whether encryption is enabled for a database.
Public property EncryptionState Gets the database encryption state.
Protected property Parent Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public property ReEncrypt Gets or sets a Boolean value to indicate whether an encryption key will be re-encrypted.
Public property Regenerate Gets or sets a Boolean value to indicate whether an encryption key will be regenerated.
Public property State Gets the encryption state.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetParentSfcPropertySet Returns an instance of the parent objects property set. (Inherited from SmoObjectExtender<T>.)
Public method GetPropertySet Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method OnPropertyMetadataChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method parent_PropertyChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method RegisterParentProperty Registers the property of the parent that has not been included in properties collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method RegisterProperty(PropertyInfo) Registers an additional reflected property. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method RegisterProperty(PropertyInfo, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public method ToString (Inherited from Object.)
Public method Validate Returns a validation state for a method.

Top

Events

  Name Description
Public event PropertyChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public event PropertyMetadataChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)

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.