共用方式為


KeyLength 屬性

Gets the length of the symmetric key in bits.

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

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property KeyLength As Integer
    Get
'用途
Dim instance As SymmetricKey
Dim value As Integer

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

屬性值

型別:System. . :: . .Int32
An Int32 value that specifies the length of the symmetric key in bits.

範例

使用加密