DB2®Record.GetDB2XsrObjectId Method
Creates an instance of a DB2XsrObjectId object from the column data.
- Namespace:
IBM.Data.DB2
- Assembly:
IBM.Data.DB2
(inIBM.Data.DB2.dll
)
Syntax
[Visual Basic]
Public Function GetDB2XsrObjectId( _
ByVal i As Integer _
) As IBM.Data.DB2Types.DB2XsrObjectId
[C#]
public IBM.Data.DB2Types.DB2XsrObjectId GetDB2XsrObjectId (int i)
[C++]
public: IBM.Data.DB2Types.DB2XsrObjectId GetDB2XsrObjectId(
int i
);
[JScript]
public function GetDB2XsrObjectId(
i : int
) : IBM.Data.DB2Types.DB2XsrObjectId;
Parameters
- i
- The zero-based column ordinal.
Return value
A DB2XsrObjectId object representing the column value.
Remarks
No conversions are performed.
Exceptions
Exception type | Condition |
---|---|
InvalidCastException | The specified cast is not valid. |
DB2Exception | Invalid conversion. |