Click or drag to resize
NotificationSubscriptionInfoProviderGetWhereConditionObject Method
Returns complete WHERE condition for subscriptions which should be searched according to the given parameters.

Namespace: CMS.Notifications
Assembly: CMS.Notifications (in CMS.Notifications.dll) Version: 9.0.0
Syntax
C#
public static IWhereCondition GetWhereConditionObject(
	string eventSource,
	string eventCode,
	int eventObjectId,
	string eventData1,
	string eventData2,
	int siteId,
	IWhereCondition where
)

Parameters

eventSource
Type: SystemString
Subscription event source
eventCode
Type: SystemString
Subscription event code
eventObjectId
Type: SystemInt32
Subscription event object ID
eventData1
Type: SystemString
Subscription event data 1
eventData2
Type: SystemString
Subscription event data 2
siteId
Type: SystemInt32
ID of the site where the event belongs
where
Type: CMS.DataEngineIWhereCondition
Additional WHERE condition

Return Value

Type: IWhereCondition
See Also