共用方式為


DatabaseEncryptionKeyExtender.EncryptionState 屬性

Gets the database encryption state.

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

語法

'宣告
<ExtendedPropertyAttribute> _
Public ReadOnly Property EncryptionState As DatabaseEncryptionState 
    Get
'用途
Dim instance As DatabaseEncryptionKeyExtender 
Dim value As DatabaseEncryptionState 

value = instance.EncryptionState
[ExtendedPropertyAttribute]
public DatabaseEncryptionState EncryptionState { get; }
[ExtendedPropertyAttribute]
public:
property DatabaseEncryptionState EncryptionState {
    DatabaseEncryptionState get ();
}
[<ExtendedPropertyAttribute>]
member EncryptionState : DatabaseEncryptionState
function get EncryptionState () : DatabaseEncryptionState

屬性值

型別:Microsoft.SqlServer.Management.Smo.DatabaseEncryptionState
The database encryption state.

請參閱

參考

DatabaseEncryptionKeyExtender 類別

Microsoft.SqlServer.Management.Smo 命名空間