summaryM:DotNetNuke.Services.Social.Subscriptions.Data.DataService.AddSubscription(System.Int32,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32,System.String)

Namespace: DotNetNuke.Services.Social.Subscriptions.Data
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public int AddSubscription(
	int userId,
	int portalId,
	int subscriptionTypeId,
	string objectKey,
	string description,
	int moduleId,
	int tabId,
	string objectData
)
Visual Basic
Public 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
paramuserIdM:DotNetNuke.Services.Social.Subscriptions.Data.DataService.AddSubscription(System.Int32,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32,System.String)
portalId
Type: System..::..Int32
paramportalIdM:DotNetNuke.Services.Social.Subscriptions.Data.DataService.AddSubscription(System.Int32,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32,System.String)
subscriptionTypeId
Type: System..::..Int32
paramsubscriptionTypeIdM:DotNetNuke.Services.Social.Subscriptions.Data.DataService.AddSubscription(System.Int32,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32,System.String)
objectKey
Type: System..::..String
paramobjectKeyM:DotNetNuke.Services.Social.Subscriptions.Data.DataService.AddSubscription(System.Int32,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32,System.String)
description
Type: System..::..String
paramdescriptionM:DotNetNuke.Services.Social.Subscriptions.Data.DataService.AddSubscription(System.Int32,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32,System.String)
moduleId
Type: System..::..Int32
parammoduleIdM:DotNetNuke.Services.Social.Subscriptions.Data.DataService.AddSubscription(System.Int32,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32,System.String)
tabId
Type: System..::..Int32
paramtabIdM:DotNetNuke.Services.Social.Subscriptions.Data.DataService.AddSubscription(System.Int32,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32,System.String)
objectData
Type: System..::..String
paramobjectDataM:DotNetNuke.Services.Social.Subscriptions.Data.DataService.AddSubscription(System.Int32,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32,System.String)

Return Value

returnsM:DotNetNuke.Services.Social.Subscriptions.Data.DataService.AddSubscription(System.Int32,System.Int32,System.Int32,System.String,System.String,System.Int32,System.Int32,System.String)

Implements

IDataService..::..AddSubscription(Int32, Int32, Int32, String, String, Int32, Int32, String)

See Also