Partager via


Propriété AsymmetricKey.KeyLength

Gets the length of the asymmetric key.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property KeyLength As Integer 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

Définition de propriétés

Voir aussi

Référence

AsymmetricKey Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

CREATE ASYMMETRIC KEY (Transact-SQL)