次の方法で共有


EncryptionState プロパティ

データベース暗号化の状態を取得します。

名前空間:  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