Sdílet prostřednictvím


AsymmetricKey.KeyLength Property

Gets the length of the asymmetric key.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property KeyLength As Integer
    Get
'Usage
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

Property Value

Type: System.Int32
An Int32 object value that specifies the length of the asymmetric key.