Process variables
Process variables are similar to session variables, except that the scope is tied to a single database connection. This is unlike sessions, which span any number of database connections. A process variable declared before one method call could be in a different scope than a later method call which was run on a different database connection.
Method | Description |
---|---|
|
Creates or updates a process variable in the database |
public void SetProcessVariable( string name, string varValue, bool ignoreError) |
Sets the value of a process variable |
public string GetProcessVariable( string name) |
Gets the value of a process variable |
public string GetProcessVariable( string name, string defaultValue) |
Gets the value of a process variable, using the default value if a value does not exist |
public string GetProcessVariable( string name, string defaultValue, bool deleteVariable) |
Gets the value of a process variable, using the default value if a value does not exist; deletes the process variable after retrieving the value |
public void DeleteProcessVariable( string name) |
Deletes the process variable |