Share via


CertificateCollection Clase

The CertificateCollection class represents a collection of Certificate objects that represent all the certificates on an instance of SQL Server.

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

Sintaxis

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

Notas

A CertificateCollection object can be used to gain access to a set of certificates. You can use the Item property to return a specific Certificate object.

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.