ICallableStatement.RegisterOutParameter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| RegisterOutParameter(Int32, Int32) |
Registers the OUT parameter in ordinal position <code>parameterIndex</code> to the JDBC type <code>sqlType</code>. |
| RegisterOutParameter(String, Int32) |
Registers the OUT parameter named <code>parameterName</code> to the JDBC type <code>sqlType</code>. |
| RegisterOutParameter(Int32, Int32, Int32) |
Registers the parameter in ordinal position <code>parameterIndex</code> to be of JDBC type <code>sqlType</code>. |
| RegisterOutParameter(Int32, Int32, String) |
Registers the designated output parameter. |
| RegisterOutParameter(String, Int32, Int32) |
Registers the parameter named <code>parameterName</code> to be of JDBC type <code>sqlType</code>. |
| RegisterOutParameter(String, Int32, String) |
Registers the designated output parameter. |
RegisterOutParameter(Int32, Int32)
Registers the OUT parameter in ordinal position <code>parameterIndex</code> to the JDBC type <code>sqlType</code>.
[Android.Runtime.Register("registerOutParameter", "(II)V", "GetRegisterOutParameter_IIHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RegisterOutParameter (int parameterIndex, int sqlType);
[<Android.Runtime.Register("registerOutParameter", "(II)V", "GetRegisterOutParameter_IIHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RegisterOutParameter : int * int -> unit
Parameters
- parameterIndex
- Int32
the first parameter is 1, the second is 2, and so on
- sqlType
- Int32
the JDBC type code defined by <code>java.sql.Types</code>. If the parameter is of JDBC type <code>NUMERIC</code> or <code>DECIMAL</code>, the version of <code>registerOutParameter</code> that accepts a scale value should be used.
- Attributes
Exceptions
if a database error occurs.
Remarks
Java documentation for java.sql.CallableStatement.registerOutParameter(int, int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
See also
Applies to
RegisterOutParameter(String, Int32)
Registers the OUT parameter named <code>parameterName</code> to the JDBC type <code>sqlType</code>.
[Android.Runtime.Register("registerOutParameter", "(Ljava/lang/String;I)V", "GetRegisterOutParameter_Ljava_lang_String_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RegisterOutParameter (string? parameterName, int sqlType);
[<Android.Runtime.Register("registerOutParameter", "(Ljava/lang/String;I)V", "GetRegisterOutParameter_Ljava_lang_String_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RegisterOutParameter : string * int -> unit
Parameters
- parameterName
- String
the name of the parameter
- sqlType
- Int32
the JDBC type code defined by <code>java.sql.Types</code>. If the parameter is of JDBC type <code>NUMERIC</code> or <code>DECIMAL</code>, the version of <code>registerOutParameter</code> that accepts a scale value should be used.
- Attributes
Exceptions
if a database error occurs.
Remarks
Java documentation for java.sql.CallableStatement.registerOutParameter(java.lang.String, int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
RegisterOutParameter(Int32, Int32, Int32)
Registers the parameter in ordinal position <code>parameterIndex</code> to be of JDBC type <code>sqlType</code>.
[Android.Runtime.Register("registerOutParameter", "(III)V", "GetRegisterOutParameter_IIIHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RegisterOutParameter (int parameterIndex, int sqlType, int scale);
[<Android.Runtime.Register("registerOutParameter", "(III)V", "GetRegisterOutParameter_IIIHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RegisterOutParameter : int * int * int -> unit
Parameters
- parameterIndex
- Int32
the first parameter is 1, the second is 2, and so on
- sqlType
- Int32
the SQL type code defined by <code>java.sql.Types</code>.
- scale
- Int32
the desired number of digits to the right of the decimal point. It must be greater than or equal to zero.
- Attributes
Exceptions
if a database error occurs.
Remarks
Java documentation for java.sql.CallableStatement.registerOutParameter(int, int, int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
See also
Applies to
RegisterOutParameter(Int32, Int32, String)
Registers the designated output parameter.
[Android.Runtime.Register("registerOutParameter", "(IILjava/lang/String;)V", "GetRegisterOutParameter_IILjava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RegisterOutParameter (int parameterIndex, int sqlType, string? typeName);
[<Android.Runtime.Register("registerOutParameter", "(IILjava/lang/String;)V", "GetRegisterOutParameter_IILjava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RegisterOutParameter : int * int * string -> unit
Parameters
- parameterIndex
- Int32
the first parameter is 1, the second is 2,...
- sqlType
- Int32
a value from java.sql.Types
- typeName
- String
the fully-qualified name of an SQL structured type
- Attributes
Exceptions
if a database error occurs.
Remarks
Java documentation for java.sql.CallableStatement.registerOutParameter(int, int, java.lang.String).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
See also
Applies to
RegisterOutParameter(String, Int32, Int32)
Registers the parameter named <code>parameterName</code> to be of JDBC type <code>sqlType</code>.
[Android.Runtime.Register("registerOutParameter", "(Ljava/lang/String;II)V", "GetRegisterOutParameter_Ljava_lang_String_IIHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RegisterOutParameter (string? parameterName, int sqlType, int scale);
[<Android.Runtime.Register("registerOutParameter", "(Ljava/lang/String;II)V", "GetRegisterOutParameter_Ljava_lang_String_IIHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RegisterOutParameter : string * int * int -> unit
Parameters
- parameterName
- String
the name of the parameter
- sqlType
- Int32
SQL type code defined by <code>java.sql.Types</code>.
- scale
- Int32
the desired number of digits to the right of the decimal point. It must be greater than or equal to zero.
- Attributes
Exceptions
if a database error occurs.
Remarks
Java documentation for java.sql.CallableStatement.registerOutParameter(java.lang.String, int, int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
RegisterOutParameter(String, Int32, String)
Registers the designated output parameter.
[Android.Runtime.Register("registerOutParameter", "(Ljava/lang/String;ILjava/lang/String;)V", "GetRegisterOutParameter_Ljava_lang_String_ILjava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RegisterOutParameter (string? parameterName, int sqlType, string? typeName);
[<Android.Runtime.Register("registerOutParameter", "(Ljava/lang/String;ILjava/lang/String;)V", "GetRegisterOutParameter_Ljava_lang_String_ILjava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RegisterOutParameter : string * int * string -> unit
Parameters
- parameterName
- String
the name of the parameter
- sqlType
- Int32
a value from java.sql.Types
- typeName
- String
the fully-qualified name of an SQL structured type
- Attributes
Exceptions
if a database error occurs.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.