summaryM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)

Namespace: DotNetNuke.Data
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
[ObsoleteAttribute("Deprecated in Platform 7.4.0")]
public virtual int AddContentWorkflowState(
	int workflowId,
	string stateName,
	int order,
	bool isActive,
	bool sendEmail,
	bool sendMessage,
	bool isDisposalState,
	string onCompleteMessageSubject,
	string onCompleteMessageBody,
	string onDiscardMessageSubject,
	string onDiscardMessageBody
)
Visual Basic
<ObsoleteAttribute("Deprecated in Platform 7.4.0")> 
Public Overridable Function AddContentWorkflowState ( 
	workflowId As Integer,
	stateName As String,
	order As Integer,
	isActive As Boolean,
	sendEmail As Boolean,
	sendMessage As Boolean,
	isDisposalState As Boolean,
	onCompleteMessageSubject As String,
	onCompleteMessageBody As String,
	onDiscardMessageSubject As String,
	onDiscardMessageBody As String
) As Integer

Parameters

workflowId
Type: System..::..Int32
paramworkflowIdM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)
stateName
Type: System..::..String
paramstateNameM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)
order
Type: System..::..Int32
paramorderM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)
isActive
Type: System..::..Boolean
paramisActiveM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)
sendEmail
Type: System..::..Boolean
paramsendEmailM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)
sendMessage
Type: System..::..Boolean
paramsendMessageM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)
isDisposalState
Type: System..::..Boolean
paramisDisposalStateM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)
onCompleteMessageSubject
Type: System..::..String
paramonCompleteMessageSubjectM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)
onCompleteMessageBody
Type: System..::..String
paramonCompleteMessageBodyM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)
onDiscardMessageSubject
Type: System..::..String
paramonDiscardMessageSubjectM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)
onDiscardMessageBody
Type: System..::..String
paramonDiscardMessageBodyM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)

Return Value

returnsM:DotNetNuke.Data.DataProvider.AddContentWorkflowState(System.Int32,System.String,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.String,System.String,System.String,System.String)

See Also