共用方式為


KeyLength 屬性

Gets the length of the asymmetric key.

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

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property KeyLength As Integer
    Get
'用途
Dim instance As AsymmetricKey
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 object value that specifies the length of the asymmetric key.

範例

設定屬性