Creates a new Notification Type
Namespace: DotNetNuke.Services.Social.Notifications.DataAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
int CreateNotificationType( string name, string description, int timeToLive, int desktopModuleId, int createUpdateUserId, bool isTask ) |
Visual Basic |
---|
Function CreateNotificationType ( name As String, description As String, timeToLive As Integer, desktopModuleId As Integer, createUpdateUserId As Integer, isTask As Boolean ) As Integer |
Parameters
- name
- Type: System..::..String
Name of the Notification Type
- description
- Type: System..::..String
Description of the Notification Type
- timeToLive
- Type: System..::..Int32
Time to live of the Notification Type
- desktopModuleId
- Type: System..::..Int32
Id of the desktop module to which the Notification Type is associated
- createUpdateUserId
- Type: System..::..Int32
Id of the user that creates and updates the Notification Type
- isTask
- Type: System..::..Boolean
Whether this Notification Type is task or not