共用方式為


DatabaseEncryptionKey 類別

Creates a database encryption key.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public NotInheritable Class DatabaseEncryptionKey _
    Inherits SqlSmoObject _
    Implements ICreatable, IAlterable, IDroppable, IScriptable
'用途
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

繼承階層

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

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。