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

Update the notice details.

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

Syntax

C#
public int UpdateNotice(
	int messageId,
	string noticeDesc,
	DateTime fromDate,
	DateTime toDate
)
Visual Basic (Declaration)
Public Function UpdateNotice ( _
	messageId As Integer, _
	noticeDesc As String, _
	fromDate As DateTime, _
	toDate As DateTime _
) As Integer
Visual C++
public:
int UpdateNotice(
	int messageId, 
	String^ noticeDesc, 
	DateTime fromDate, 
	DateTime toDate
)

Parameters

messageId
Type: System..::.Int32
The ID of the notice which needs to be udpated.
noticeDesc
Type: System..::.String
The notice Description.
fromDate
Type: System..::.DateTime
The datetime from which the notice becomes Active.
toDate
Type: System..::.DateTime
The datetime up to which the notice remains Active.

Return Value

The Id of the notice if successful else returns -1

See Also