Share via


EventFieldCollection.Item Property (String)

Gets a specific EventField object in the EventFieldCollection object by name.

Namespace: Microsoft.SqlServer.Management.Nmo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As EventField
public EventField this [
    string name
] { get; }
public:
property EventField^ default [String^] {
    EventField^ get (String^ name);
}
/** @property */
public EventField get_Item (String name)

Parameters

  • name
    A String value that specifies the name of the EventField object in the collection.

Property Value

A EventField object that represents an event field for the instance of Notification Services.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

EventFieldCollection Class
EventFieldCollection Members
Microsoft.SqlServer.Management.Nmo Namespace

Other Resources

Defining Core Event Class Properties
Field Element for EventClass/Schema (ADF)