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

Inserts a note in the note table

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,
	DateTime dt
)
Visual Basic (Declaration)
Public Function InsertNote ( _
	userId As Integer, _
	groupId As Integer, _
	objectTypeId As Integer, _
	objectId As Integer, _
	note As String, _
	dt As DateTime _
) As Integer
Visual C++
public:
int InsertNote(
	int userId, 
	int groupId, 
	int objectTypeId, 
	int objectId, 
	String^ note, 
	DateTime dt
)

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
dt
Type: System..::.DateTime
The datetime when this note needs to be created

Return Value

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

See Also