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

Changes the name of the udf field.

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

Syntax

C#
public int UpdateUdfName(
	int projectId,
	int mode,
	int udfNum,
	string name,
	string type,
	bool isAdminEdit,
	bool isMandatory
)
Visual Basic (Declaration)
Public Function UpdateUdfName ( _
	projectId As Integer, _
	mode As Integer, _
	udfNum As Integer, _
	name As String, _
	type As String, _
	isAdminEdit As Boolean, _
	isMandatory As Boolean _
) As Integer
Visual C++
public:
int UpdateUdfName(
	int projectId, 
	int mode, 
	int udfNum, 
	String^ name, 
	String^ type, 
	bool isAdminEdit, 
	bool isMandatory
)

Parameters

projectId
Type: System..::.Int32
The database id of the Project
mode
Type: System..::.Int32
The values are,
  • 0Update
  • 1Add
  • 2Delete
udfNum
Type: System..::.Int32
The udf number.
name
Type: System..::.String
The new name of the udf.
type
Type: System..::.String
The type of the udf, valid values are,
  • Text
  • List
  • Email
  • Date
  • User
isAdminEdit
Type: System..::.Boolean
Shows if edit is only permitted to the administrator
isMandatory
Type: System..::.Boolean
The the field mandatory

Return Value

=OK, -1=name already exists.

See Also