Compartilhar via


Propriedade do RDL AsymmetricKey.KeyLength

Gets the length of the asymmetric key.

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

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property KeyLength As Integer 
    Get
'Uso
Dim instance As AsymmetricKey 
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

Valor da propriedade

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

Exemplos

Definindo propriedades

Consulte também

Referência

AsymmetricKey Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

CREATE ASYMMETRIC KEY (Transact-SQL)