JAMS Developer Guide
AddActivityCommand Method


MVPSI.JAMS.Activities Namespace > CommandHelper Class : AddActivityCommand Method
Adds or updates a command for an Activity in the object store
Syntax
'Declaration
 
Public Shared Sub AddActivityCommand( _
   ByVal entry As Entry, _
   ByVal activityID As System.String, _
   ByVal message As System.String, _
   ByVal newCmd As System.Integer, _
   Optional ByVal sendToJob As System.Boolean _
) 
'Usage
 
Dim entry As Entry
Dim activityID As System.String
Dim message As System.String
Dim newCmd As System.Integer
Dim sendToJob As System.Boolean
 
CommandHelper.AddActivityCommand(entry, activityID, message, newCmd, sendToJob)
public static void AddActivityCommand( 
   Entry entry,
   System.string activityID,
   System.string message,
   System.int newCmd,
   System.bool sendToJob
)

Parameters

entry
activityID
message
newCmd
sendToJob
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CommandHelper Class
CommandHelper Members