AsymmetricKeyCollection Class

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

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

Syntax

'Declaration
Public NotInheritable Class AsymmetricKeyCollection _
    Inherits SimpleObjectCollectionBase
'Usage
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

Remarks

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.