DatabaseEncryptionKey.EncryptorName Property

Gets or sets the name of the server certificate that was used to encrypt the database.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property EncryptorName As String 
    Get 
    Set
'Usage
Dim instance As DatabaseEncryptionKey 
Dim value As String 

value = instance.EncryptorName

instance.EncryptorName = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string EncryptorName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ EncryptorName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member EncryptorName : string with get, set
function get EncryptorName () : String 
function set EncryptorName (value : String)

Property Value

Type: System.String
The name of the server certificate that was used to encrypt the database.

See Also

Reference

DatabaseEncryptionKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Transparent Data Encryption (TDE)

Manage Database Encryption (Properties Page)