共用方式為


DatabaseEncryptionKey.EncryptorName 屬性

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

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property EncryptorName As String 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

DatabaseEncryptionKey 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

透明資料加密 (TDE)

管理資料庫加密 (屬性頁面)