Элементы CertificateCollection
The CertificateCollection class represents a collection of Certificate objects that represent all the certificates on an instance of SQL Server.
Тип CertificateCollection предоставляет доступ к следующим элементам.
Методы
Имя | Описание | |
---|---|---|
![]() |
Add | Adds a Certificate object to the referenced collection. |
![]() |
AddExisting | Adds an object to the collection. (Наследуется из AbstractCollectionBase.) |
![]() |
AddImpl | Adds the specified object to this collection (Наследуется из SortedListCollectionBase.) |
![]() |
Contains | Verifies whether the specified object exists in the collection. (Наследуется из SimpleObjectCollectionBase.) |
![]() |
CopyTo | Copies the collection of objects to a one-dimensional array starting at the specified index value. |
![]() |
Equals | (Наследуется из Object.) |
![]() |
Finalize | (Наследуется из Object.) |
![]() |
GetCollectionElementType | Gets the Collection Element Type. (Наследуется из SmoCollectionBase.) |
![]() |
GetEnumerator | Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (Наследуется из SmoCollectionBase.) |
![]() |
GetHashCode | (Наследуется из Object.) |
![]() |
GetItemById(Int32) | Extracts a member from the referenced collection using a system-defined, unique identifier. (Наследуется из SmoCollectionBase.) |
![]() |
GetItemById(Int32, String) | Extracts a member from the referenced collection using a system-defined, unique identifier and name. (Наследуется из SmoCollectionBase.) |
![]() |
GetObjectByIndex | Extracts a member from the referenced collection using a system-defined, unique identifier. (Наследуется из SmoCollectionBase.) |
![]() |
GetType | (Наследуется из Object.) |
![]() |
ImplAddExisting | Adds an existing specified object to this collection (Наследуется из SortedListCollectionBase.) |
![]() |
InitializeChildCollection() () () () | Initializes the child collections of the referenced collection. (Наследуется из SmoCollectionBase.) |
![]() |
InitializeChildCollection(Boolean) | Initializes the child collections of the referenced collection with the option to refresh the properties of the referenced collection. (Наследуется из SmoCollectionBase.) |
![]() |
InitInnerCollection | Initializes the collection. (Наследуется из SimpleObjectCollectionBase.) |
![]() |
ItemById | Extracts a member from the CertificateCollection collection by using a system-defined, unique identifier. |
![]() |
MemberwiseClone | (Наследуется из Object.) |
![]() |
Refresh() () () () | Refreshes the referenced collection. (Наследуется из SmoCollectionBase.) |
![]() |
Refresh(Boolean) | Refreshes the referenced collection with the option to refresh child objects of the referenced collection. (Наследуется из SmoCollectionBase.) |
![]() |
ToString | (Наследуется из Object.) |
![]() |
ValidateParentObject | Validates the parent object exists. (Наследуется из SmoCollectionBase.) |
В начало
Поля
Имя | Описание | |
---|---|---|
![]() |
initialized | This value supports the SMO infrastructure and is not intended to be used directly from your code. (Наследуется из AbstractCollectionBase.) |
В начало
Свойства
Имя | Описание | |
---|---|---|
![]() |
Count | Gets the number of objects in the referenced collection. (Наследуется из SmoCollectionBase.) |
![]() |
IsSynchronized | Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (Наследуется из SmoCollectionBase.) |
![]() |
Item[ ( [ ( Int32] ) ] ) | Gets a Certificate object in the collection by index number. |
![]() |
Item[ ( [ ( String] ) ] ) | Gets a Certificate object in the collection by name. |
![]() |
Parent | Gets the Server object that is the parent of the CertificateCollection object. |
![]() |
SyncRoot | Gets an object that can be used to synchronize access to the collection. (Наследуется из SmoCollectionBase.) |
В начало
Явные реализации интерфейса
Имя | Описание | |
---|---|---|
![]() ![]() |
ICollection. . :: . .CopyTo | Copies the elements from an instance to an array beginning at the index indicated. (Наследуется из SmoCollectionBase.) |
В начало
См. также