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)
Parameters
- fieldOrdinal
The zero-based ordinal of the event field.
Property Value
An Object that represents the field's value.
Remarks
The Int32 overload of the Item property is not available through COM interop.
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
Event Class
Event Members
Microsoft.SqlServer.NotificationServices Namespace