[This is preliminary documentation and is subject to change.]
Inserts the announcement into the database
Namespace:
OfficeClip.DBLayer.OfficePortalAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int Insert( string message, string title, DateTime expires, int userId, int groupId ) |
Visual Basic (Declaration) |
---|
Public Function Insert ( _ message As String, _ title As String, _ expires As DateTime, _ userId As Integer, _ groupId As Integer _ ) As Integer |
Visual C++ |
---|
public: int Insert( String^ message, String^ title, DateTime expires, int userId, int groupId ) |
Parameters
- message
- Type: System..::.String
The announcement Description
- title
- Type: System..::.String
The announcement title
- expires
- Type: System..::.DateTime
When the announcement expires, if empty then it is manual expiration and the database value is set to null
- userId
- Type: System..::.Int32
The unique identifier for the user.
- groupId
- Type: System..::.Int32
The unique identifier for the group.