EventPropertyCollection Class
The EventPropertyCollection object represents the properties of event objects.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.EventPropertyCollection
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public NotInheritable Class EventPropertyCollection _
Implements ICollection, IEnumerable(Of EventProperty), _
IEnumerable
'Usage
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
The EventPropertyCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
CopyTo | Copies the collection objects to a one-dimensional array starting at the specified index value. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Gets an enumerator that can iterate through the list of objects. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
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 | Indicates if 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. |
Top
Remarks
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.