Previous Topic: bool SetUseVersionList(bool bUseVersionChooser)

Next Topic: void SetAddCmdLineArg(LPCTSTR szCmdLineArg)


void SetInput(LPCTSTR szAddInput)

Sets the string that will be piped to stdin for the UDP process.

Note: Permission must be given by the CA Harvest SCM administrator to allow user-modifiable input. See GetUserCanModifyInput() to determine if the administrator has secured input.

SetInput replaces any input that was specified by the administrator for that UDP.

Owning Class

CaUDP

Arguments

LPCTSTR szAddInput-the string to be passed to stdin

Return Value

None

Example

CaUDP& rUDP = rContext.GetUDP(); if( rUDP.GetUserCanModifyInput() == true ) rUDP.SetInput(“Input string”); rUDP.Execute();

More information: