Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
The EventPropertyCollection object represents the properties of event objects.
Иерархия наследования
System.Object
Microsoft.SqlServer.Management.Smo.EventPropertyCollection
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public NotInheritable Class EventPropertyCollection _
Implements ICollection, IEnumerable(Of EventProperty), _
IEnumerable
'Применение
Dim instance As EventPropertyCollection
public sealed class EventPropertyCollection : ICollection,
IEnumerable<EventProperty>, IEnumerable
public ref class EventPropertyCollection sealed : ICollection,
IEnumerable<EventProperty^>, IEnumerable
[<SealedAttribute>]
type EventPropertyCollection =
class
interface ICollection
interface IEnumerable<EventProperty>
interface IEnumerable
end
public final class EventPropertyCollection implements ICollection, IEnumerable<EventProperty>, IEnumerable
Тип EventPropertyCollection обеспечивает доступ к следующим элементам.
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
Count | Gets the number of EventProperty objects in the EventPropertyCollection object. |
![]() |
Item[Int32] | Gets the EventProperty object at the specified index position. |
![]() |
Item[String] | Gets the EventProperty object that has the specified name. |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
CopyTo | Copies the collection objects to a one-dimensional array starting at the specified index value. |
![]() |
Equals | (Производный от Object.) |
![]() |
GetEnumerator | Gets an enumerator that can iterate through the list of objects. |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetType | (Производный от Object.) |
![]() |
ToString | (Производный от Object.) |
В начало
Явные реализации интерфейса
| Имя | Описание | |
|---|---|---|
![]() ![]() |
ICollection.CopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. |
![]() ![]() |
IEnumerable.GetEnumerator | Returns an IEnumerator interface that permits iteration through a collection. |
![]() ![]() |
ICollection.IsSynchronized | Gets a value that indicates whether the event property collection is synchronized (locked) for read and update. |
![]() ![]() |
ICollection.SyncRoot | Returns an object that can be used to synchronize access to the ICollection. |
В начало
Замечания
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.
Примеры
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)
.gif)
.gif)