Compartir a través de


AsymmetricKeyCollection Clase

The AsymmetricKeyCollection class represents a collection of AsymmetricKey objects that represent all the asymmetric keys on the referenced database.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public NotInheritable Class AsymmetricKeyCollection _
    Inherits SimpleObjectCollectionBase
'Uso
Dim instance As AsymmetricKeyCollection
public sealed class AsymmetricKeyCollection : SimpleObjectCollectionBase
public ref class AsymmetricKeyCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type AsymmetricKeyCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class AsymmetricKeyCollection extends SimpleObjectCollectionBase

Notas

A AsymmetricKeyCollection object can be used to gain access to a set of asymmetric keys. You can use the Item property to return a specific AsymmetricKey object.

Ejemplos

Usar colecciones

Seguridad para subprocesos

Todos los miembros públicos static (Shared en Visual Basic) de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.