Compartir a través de


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.

Espacio de nombres: Microsoft.SqlServer.NotificationServices
Ensamblado: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintaxis

'Declaración
<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)

Parámetros

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

Valor de propiedad

An Object that represents the field's value.

Notas

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

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Event Class
Event Members
Microsoft.SqlServer.NotificationServices Namespace