DatabaseEncryptionKey Class

Creates a database encryption key.

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

Syntax

'Declaration
Public NotInheritable Class DatabaseEncryptionKey _
    Inherits SqlSmoObject _
    Implements ICreatable, IAlterable, IDroppable, IScriptable
'Usage
Dim instance As DatabaseEncryptionKey
public sealed class DatabaseEncryptionKey : SqlSmoObject, 
    ICreatable, IAlterable, IDroppable, IScriptable
public ref class DatabaseEncryptionKey sealed : public SqlSmoObject, 
    ICreatable, IAlterable, IDroppable, IScriptable
[<SealedAttribute>]
type DatabaseEncryptionKey =  
    class
        inherit SqlSmoObject
        interface ICreatable
        interface IAlterable
        interface IDroppable
        interface IScriptable
    end
public final class DatabaseEncryptionKey extends SqlSmoObject implements ICreatable, IAlterable, IDroppable, IScriptable

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.SmoObjectBase
    Microsoft.SqlServer.Management.Smo.SqlSmoObject
      Microsoft.SqlServer.Management.Smo.DatabaseEncryptionKey

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.