EventPropertyCollection 类
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
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。
示例
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。