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

Inserts a note in the note table. This function is only used where there is no session present

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

Syntax

C#
public int InsertNote(
	int userId,
	int groupId,
	int objectTypeId,
	int objectId,
	string note
)
Visual Basic (Declaration)
Public Function InsertNote ( _
	userId As Integer, _
	groupId As Integer, _
	objectTypeId As Integer, _
	objectId As Integer, _
	note As String _
) As Integer
Visual C++
public:
int InsertNote(
	int userId, 
	int groupId, 
	int objectTypeId, 
	int objectId, 
	String^ note
)

Parameters

userId
Type: System..::.Int32
The unique id of the user for which the note is created
groupId
Type: System..::.Int32
The unique id of the group
objectTypeId
Type: System..::.Int32
The object type id
objectId
Type: System..::.Int32
The object id
note
Type: System..::.String
The actual note

Return Value

The unique id of the note if successful, -1 otherwise

See Also