EventPropertyCollection.Item[String] EventPropertyCollection.Item[String] EventPropertyCollection.Item[String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets the EventProperty object at the specified index position.

Item[String] Item[String] Item[String]

Gets the EventProperty object that has the specified name.

Item[Int32] Item[Int32] Item[Int32]

Gets the EventProperty object at the specified index position.

public:
 property Microsoft::SqlServer::Management::Smo::EventProperty ^ default[int] { Microsoft::SqlServer::Management::Smo::EventProperty ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.EventProperty this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As EventProperty
Parameters
index
Int32 Int32 Int32

An Int32 value that specifies the index position of the EventProperty object in the collection.

Property Value

An EventProperty object value that specifies the event property at the specified index position.

Examples

Using Collections

Item[String] Item[String] Item[String]

Gets the EventProperty object that has the specified name.

public:
 property Microsoft::SqlServer::Management::Smo::EventProperty ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::EventProperty ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.EventProperty this[string name] { get; }
Default Public ReadOnly Property Item(name As String) As EventProperty
Parameters
name
String String String

A String value that specifies the name of the EventProperty object.

Property Value

An EventProperty object value that specifies the event property that has the specified name.

Examples

Using Collections

Applies to