Dela via


EventPropertyCollection.Item Property (Int32)

Gets the EventProperty object at the specified index position.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As EventProperty
    Get
'Usage
Dim instance As EventPropertyCollection
Dim index As Integer
Dim value As EventProperty

value = instance(index)
public EventProperty this[
    int index
] { get; }
public:
property EventProperty^ default[int index] {
    EventProperty^ get (int index);
}
member Item : EventProperty
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.EventProperty
An EventProperty object value that specifies the event property at the specified index position.