Adds a Subscription
Namespace: DotNetNuke.Services.Social.Subscriptions.DataAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
int AddSubscription( int userId, int portalId, int subscriptionTypeId, string objectKey, string description, int moduleId, int tabId, string objectData ) |
Visual Basic |
---|
Function AddSubscription ( userId As Integer, portalId As Integer, subscriptionTypeId As Integer, objectKey As String, description As String, moduleId As Integer, tabId As Integer, objectData As String ) As Integer |
Parameters
- userId
- Type: System..::..Int32
User Id
- portalId
- Type: System..::..Int32
Portal id
- subscriptionTypeId
- Type: System..::..Int32
Subscription Type Id
- objectKey
- Type: System..::..String
Object Key
- description
- Type: System..::..String
Description
- moduleId
- Type: System..::..Int32
Module Id
- tabId
- Type: System..::..Int32
Tab Id
- objectData
- Type: System..::..String
Object Data