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