SymmetricKey.KeyLength プロパティ

対称キーの長さをビット単位で取得します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property KeyLength As Integer 
    Get
'使用
Dim instance As SymmetricKey 
Dim value As Integer 

value = instance.KeyLength
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int KeyLength { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int KeyLength {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member KeyLength : int
function get KeyLength () : int

プロパティ値

型: System.Int32
対称キーの長さをビット単位で示す Int32 値。

使用例

暗号化の使用

関連項目

参照

SymmetricKey クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

暗号化階層

CREATE SYMMETRIC KEY (Transact-SQL)