Propriété AsymmetricKey.PublicKey

Gets the public key for 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 PublicKey As Byte()
    Get
'Utilisation
Dim instance As AsymmetricKey 
Dim value As Byte()

value = instance.PublicKey
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public byte[] PublicKey { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property array<unsigned char>^ PublicKey {
    array<unsigned char>^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member PublicKey : byte[]
function get PublicKey () : byte[]

Valeur de propriété

Type : array<System.Byte[]
A Uint8 array value that specifies the public key for 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)