Share via


DatabaseEncryptionKeyStatement.Encryptor Property

Gets or sets the encryptor.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property Encryptor As CryptoMechanism
public CryptoMechanism Encryptor { get; set; }
public:
property CryptoMechanism^ Encryptor {
    CryptoMechanism^ get ();
    void set (CryptoMechanism^ value);
}
member Encryptor : CryptoMechanism with get, set
function get Encryptor () : CryptoMechanism
function set Encryptor (value : CryptoMechanism)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.CryptoMechanism
Returns a CryptoMechanism.

Remarks

Only certificates and asymmetric keys are allowed here. Crypto should not have a password or signature.

.NET Framework Security

See Also

Reference

DatabaseEncryptionKeyStatement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace