AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

ToolHelper..::..PublishObject<(Of <(<'T>)>)> Method (String, T, Boolean)

Publishes the object.

Namespace:  AdvantageCMS.Core.Utils
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public ToolHelperResult PublishObject<T>(
	string CMSUserName,
	T businessObject,
	bool showInDomain
)
where T : BusinessObject<T>, BusinessObject<T>, BusinessObject<T>, BusinessObject<T>, BusinessObject<T>

Type Parameters

T

Parameters

CMSUserName
Type: String
Name of the CMS user.
businessObject
Type: T
The business object.
showInDomain
Type: Boolean
if set to true [show in domain].

Return Value

ToolHelperResult.

Exceptions


ExceptionCondition
eCMSEngineEventStatus..::..ExceptionProper constructor is not initialized ToolHelper(SQL sql, int domainId, int languageId)