CertificateCollection CertificateCollection CertificateCollection Class

Definition

Represents a collection of ICertificate objects.

public ref class CertificateCollection : Microsoft::SqlServer::Management::SqlParser::MetadataProvider::DualTypeSortedListCollection<Microsoft::SqlServer::Management::SqlParser::Metadata::ICertificate ^, Microsoft::SqlServer::Management::SqlParser::Metadata::IDatabaseObject ^>
public class CertificateCollection : Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DualTypeSortedListCollection<Microsoft.SqlServer.Management.SqlParser.Metadata.ICertificate,Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabaseObject>
Public Class CertificateCollection
Inherits DualTypeSortedListCollection(Of ICertificate, IDatabaseObject)
Inheritance

Constructors

CertificateCollection(CollationInfo) CertificateCollection(CollationInfo) CertificateCollection(CollationInfo)

Initializes a new instance of the CertificateCollection class that uses the specified CollationInfo object and the default initial capacity.

CertificateCollection(Int32, CollationInfo) CertificateCollection(Int32, CollationInfo) CertificateCollection(Int32, CollationInfo)

Initializes a new instance of the CertificateCollection class that has the specified capacity and CollationInfo object.

Methods

Add(T) Add(T) Add(T)

Adds an object to the collection using its name as the key.

(Inherited from DictionaryCollectionBase<T,U>)
AddRange(IEnumerable<T>) AddRange(IEnumerable<T>) AddRange(IEnumerable<T>)

Adds the elements in the specified collection to this collection.

(Inherited from DictionaryCollectionBase<T,U>)
Clear() Clear() Clear()

Removes all elements from the collection.

(Inherited from DictionaryCollectionBase<T,U>)
Clone() Clone() Clone()

Creates an IMutableMetadataCollection<T> object that is a copy of this object, except for the elements.

(Inherited from DictionaryCollectionBase<T,U>)
Clone(Boolean) Clone(Boolean) Clone(Boolean)

Creates an IMutableMetadataCollection<T> object that is a copy of this object and, if specified, also copies the elements.

(Inherited from SortedListCollection<T>)
Contains(String) Contains(String) Contains(String)

Determines whether the specified element is in the collection.

(Inherited from DictionaryCollectionBase<T,U>)
Contains(T) Contains(T) Contains(T)

Determines whether the specified element is in the collection.

(Inherited from DictionaryCollectionBase<T,U>)
FindAll(Predicate<T>) FindAll(Predicate<T>) FindAll(Predicate<T>)

Finds all elements in the collection that match the conditions defined by the specified predicate.

(Inherited from DictionaryCollectionBase<T,U>)
FindAll(String) FindAll(String) FindAll(String)

Finds all elements in the collection that have the specified name.

(Inherited from DictionaryCollectionBase<T,U>)
GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the collection.

(Inherited from DictionaryCollectionBase<T,U>)
Remove(String) Remove(String) Remove(String)

Removes the object with the specified name from the collection.

(Inherited from DictionaryCollectionBase<T,U>)
Remove(T) Remove(T) Remove(T)

Removes the specified object from the collection.

(Inherited from DictionaryCollectionBase<T,U>)

Properties

AsMetadataObjectCollection AsMetadataObjectCollection AsMetadataObjectCollection

Gets an IMetadataCollection<T> object that contains this collection.

(Inherited from SortedListCollection<T>)
Count Count Count

Gets the number of elements in the collection.

(Inherited from DictionaryCollectionBase<T,U>)
IMetadataCollection<B>.AsMetadataObjectCollection IMetadataCollection<B>.AsMetadataObjectCollection IMetadataCollection<B>.AsMetadataObjectCollection Inherited from DualTypeSortedListCollection<T,B>
IMetadataCollection<B>.Count IMetadataCollection<B>.Count IMetadataCollection<B>.Count Inherited from DualTypeSortedListCollection<T,B>
IMetadataCollection<B>.Item[String] IMetadataCollection<B>.Item[String] IMetadataCollection<B>.Item[String] Inherited from DualTypeSortedListCollection<T,B>
IMetadataCollection<IMetadataObject>.AsMetadataObjectCollection IMetadataCollection<IMetadataObject>.AsMetadataObjectCollection IMetadataCollection<IMetadataObject>.AsMetadataObjectCollection Inherited from SortedListCollection<T>
IMetadataCollection<IMetadataObject>.Count IMetadataCollection<IMetadataObject>.Count IMetadataCollection<IMetadataObject>.Count Inherited from SortedListCollection<T>
IMetadataCollection<IMetadataObject>.Item[String] IMetadataCollection<IMetadataObject>.Item[String] IMetadataCollection<IMetadataObject>.Item[String] Inherited from SortedListCollection<T>
IMetadataCollection<T>.Item[String] IMetadataCollection<T>.Item[String] IMetadataCollection<T>.Item[String] Inherited from DictionaryCollectionBase<T,U>
Item[String] Item[String] Item[String]

Gets or sets the object in the collection that has the specified name.

(Inherited from DictionaryCollectionBase<T,U>)

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection.

(Inherited from DualTypeSortedListCollection<T,B>)
IEnumerable<B>.GetEnumerator() IEnumerable<B>.GetEnumerator() IEnumerable<B>.GetEnumerator()

Returns an enumerator that iterates through the collection.

(Inherited from DualTypeSortedListCollection<T,B>)
IEnumerable<IMetadataObject>.GetEnumerator() IEnumerable<IMetadataObject>.GetEnumerator() IEnumerable<IMetadataObject>.GetEnumerator()

Returns an enumerator that iterates through the collection.

(Inherited from SortedListCollection<T>)
IMetadataCollection<B>.Contains(B) IMetadataCollection<B>.Contains(B) IMetadataCollection<B>.Contains(B)

Determines whether the collection contains the specified object.

(Inherited from DualTypeSortedListCollection<T,B>)
IMetadataCollection<B>.Contains(String) IMetadataCollection<B>.Contains(String) IMetadataCollection<B>.Contains(String)

Determines whether the collection contains the specified element.

(Inherited from DualTypeSortedListCollection<T,B>)
IMetadataCollection<B>.FindAll(Predicate<B>) IMetadataCollection<B>.FindAll(Predicate<B>) IMetadataCollection<B>.FindAll(Predicate<B>)

Retrieves all elements in the collection that match the conditions defined by the specified predicate.

(Inherited from DualTypeSortedListCollection<T,B>)
IMetadataCollection<B>.FindAll(String) IMetadataCollection<B>.FindAll(String) IMetadataCollection<B>.FindAll(String)

Retrieves all elements in the collection that have the specified name.

(Inherited from DualTypeSortedListCollection<T,B>)
IMetadataCollection<IMetadataObject>.Contains(IMetadataObject) IMetadataCollection<IMetadataObject>.Contains(IMetadataObject) IMetadataCollection<IMetadataObject>.Contains(IMetadataObject)

Determines whether the collection contains the specified object.

(Inherited from SortedListCollection<T>)
IMetadataCollection<IMetadataObject>.Contains(String) IMetadataCollection<IMetadataObject>.Contains(String) IMetadataCollection<IMetadataObject>.Contains(String)

Determines whether the collection contains the specified element.

(Inherited from SortedListCollection<T>)
IMetadataCollection<IMetadataObject>.FindAll(Predicate<IMetadataObject>) IMetadataCollection<IMetadataObject>.FindAll(Predicate<IMetadataObject>) IMetadataCollection<IMetadataObject>.FindAll(Predicate<IMetadataObject>)

Retrieves all elements in the collection that match the conditions defined by the specified predicate.

(Inherited from SortedListCollection<T>)
IMetadataCollection<IMetadataObject>.FindAll(String) IMetadataCollection<IMetadataObject>.FindAll(String) IMetadataCollection<IMetadataObject>.FindAll(String)

Retrieves all elements in the collection that have the specified name.

(Inherited from SortedListCollection<T>)

Applies to