Click or drag to resize
BoardSubscriptionInfoProvider.Unsubscribe Method (String, Boolean, String, DateTime)
Unsubscribes user from message board.

Namespace: CMS.MessageBoards
Assembly: CMS.MessageBoards (in CMS.MessageBoards.dll) Version: 10.0.0
Syntax
C#
public static OptInApprovalResultEnum Unsubscribe(
	string subscriptionHash,
	bool sendConfirmationEmail,
	string siteName,
	DateTime datetime
)

Parameters

subscriptionHash
Type: System.String
Subscription hash.
sendConfirmationEmail
Type: System.Boolean
Indicates whether send confirmation e-mail
siteName
Type: System.String
Site name.
datetime
Type: System.DateTime
Date and time of request

Return Value

Type: OptInApprovalResultEnum
See Also