Event.Item Property (Int32)

Gets or sets the value of an event data field in the subscription record, using the field ordinal as an identifier.

Namespace: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Default Property Item ( _
    fieldOrdinal As Integer _
) As Object
[ComVisibleAttribute(false)] 
public Object this [
    int fieldOrdinal
] { get; set; }
[ComVisibleAttribute(false)] 
public:
property Object^ default [int] {
    Object^ get (int fieldOrdinal);
    void set (int fieldOrdinal, Object^ value);
}
/** @property */
public Object get_Item (int fieldOrdinal)

/** @property */
public void set_Item (int fieldOrdinal, Object value)

Parameter

  • fieldOrdinal
    The zero-based ordinal of the event field.

Eigenschaftswert

An Object that represents the field's value.

Hinweise

The Int32 overload of the Item property is not available through COM interop.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

Event Class
Event Members
Microsoft.SqlServer.NotificationServices Namespace