ToolHelper..::..SaveDraftObject<(Of <(<'T>)>)> Method (String, T, Boolean)
Saves the draft object.
Namespace:
AdvantageCMS.Core.UtilsAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
public ToolHelperResult SaveDraftObject<T>( string serviceAccount, T businessObject, bool showInDomain ) where T : BusinessObject<T>, BusinessObject<T>, BusinessObject<T>, BusinessObject<T>, BusinessObject<T>
Type Parameters
- T
Parameters
- serviceAccount
- Type: String
The service account.
- businessObject
- Type: T
The business object.
- showInDomain
- Type: Boolean
if set to true [show in domain].
Return Value
ToolHelperResult.Exceptions
Exception | Condition |
---|---|
eCMSEngineEventStatus..::..Exception | Proper constructor is not initialized ToolHelper(SQL sql, int domainId, int languageId) |