Class SqlAsymmetricKeyCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of SQL Server asymmetric keys.
public class SqlAsymmetricKeyCollection : Collection<SqlAsymmetricKey>, IList<SqlAsymmetricKey>, ICollection<SqlAsymmetricKey>, IList, ICollection, IReadOnlyList<SqlAsymmetricKey>, IReadOnlyCollection<SqlAsymmetricKey>, IEnumerable<SqlAsymmetricKey>, IEnumerable
- Inheritance
-
SqlAsymmetricKeyCollection
- Implements
- Inherited Members
Constructors
SqlAsymmetricKeyCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlAsymmetricKeyCollection class.
public SqlAsymmetricKeyCollection()
Methods
ExistsByIdentifier(Guid)
Returns a System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.SqlAsymmetricKey with the specified identifier exists within the collection.
public bool ExistsByIdentifier(Guid identifier)
Parameters
identifierGuidThe name of the CENTREL.XIA.Configuration.Types.SqlAsymmetricKey to locate.
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.SqlAsymmetricKey with the specified identifier exists within the collection.
FindByIdentifier(Guid)
Returns the CENTREL.XIA.Configuration.Types.SqlAsymmetricKey with the specified identifier, or null if no CENTREL.XIA.Configuration.Types.SqlAsymmetricKey with that identifier is found.
public SqlAsymmetricKey FindByIdentifier(Guid identifier)
Parameters
identifierGuidThe name of the CENTREL.XIA.Configuration.Types.SqlAsymmetricKey to locate.
Returns
- SqlAsymmetricKey
The CENTREL.XIA.Configuration.Types.SqlAsymmetricKey with the specified identifier.
FindByName(string)
Returns the asymmetric key with the specified name, or null if no asymmetric key with that name is found.
public SqlAsymmetricKey FindByName(string keyName)
Parameters
keyNamestringThe name of the asymmetric key to locate.
Returns
- SqlAsymmetricKey
The asymmetric key with the specified name.
Sort()
Sorts the values in the collection.
public void Sort()