Partilhar via


Classe CertificateCollection

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

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

Sintaxe

'Declaração
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

Comentários

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.

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.