[This is preliminary documentation and is subject to change.]

Provides a way to add the output parameter to OfficeClip.

Namespace:  OfficeClip.DBLayer
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
protected SqlParameter AddOutputParameter(
	SqlCommand myCommand,
	string parameterSP,
	SqlDbType sdt,
	int size,
	int precision,
	int scale
)
Visual Basic (Declaration)
Protected Function AddOutputParameter ( _
	myCommand As SqlCommand, _
	parameterSP As String, _
	sdt As SqlDbType, _
	size As Integer, _
	precision As Integer, _
	scale As Integer _
) As SqlParameter
Visual C++
protected:
SqlParameter^ AddOutputParameter(
	SqlCommand^ myCommand, 
	String^ parameterSP, 
	SqlDbType sdt, 
	int size, 
	int precision, 
	int scale
)

Parameters

myCommand
Type: System.Data.SqlClient..::.SqlCommand
The sql command parameter
parameterSP
Type: System..::.String
The stored procedure to put the output parameter.
sdt
Type: System.Data..::.SqlDbType
The db type parameter.
size
Type: System..::.Int32
The size of the field.
precision
Type: System..::.Int32
The precision of the field for float, double etc.
scale
Type: System..::.Int32
The scale of the field.

Return Value

The sql output parameter object.

See Also