Freigeben über


KeyLength-Eigenschaft

Gets the length of the symmetric key in bits.

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

Syntax

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

Eigenschaftswert

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