Click or drag to resize
BlogPostSubscriptionInfoProviderUnsubscribe Method
Unsubscribes user from blog post.

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

Parameters

subscriptionHash
Type: SystemString
Subscription hash.
sendConfirmationEmail
Type: SystemBoolean
Indicates whether send confirmation e-mail
siteName
Type: SystemString
Site name.
datetime
Type: SystemDateTime
Date and time of request

Return Value

Type: OptInApprovalResultEnum
See Also