CreateDatabaseEncryptionKeyStatement CreateDatabaseEncryptionKeyStatement CreateDatabaseEncryptionKeyStatement Class


Represents the CREATE DATABASE ENCRYPTION KEY statement.

public ref class CreateDatabaseEncryptionKeyStatement : Microsoft::SqlServer::TransactSql::ScriptDom::DatabaseEncryptionKeyStatement
public class CreateDatabaseEncryptionKeyStatement : Microsoft.SqlServer.TransactSql.ScriptDom.DatabaseEncryptionKeyStatement
Public Class CreateDatabaseEncryptionKeyStatement
Inherits DatabaseEncryptionKeyStatement


CreateDatabaseEncryptionKeyStatement() CreateDatabaseEncryptionKeyStatement() CreateDatabaseEncryptionKeyStatement()

Initializes a new instance of the CreateDatabaseEncryptionKeyStatement class.


Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Accepts a visit from the specified visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Accepts a visit for the Children from the specified visitor.


Algorithm Algorithm Algorithm

Gets or sets the algorithm used for the encryption key.

(Inherited from DatabaseEncryptionKeyStatement)
Encryptor Encryptor Encryptor

Gets or sets the encryptor name used to encrypt the encryption key. Only certificate and asymmetric key are allowed here, and crypto should not have password or signature.

(Inherited from DatabaseEncryptionKeyStatement)
FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to