GetSessionProperty

Beschreibung:

Liest eine Session-Variable aus, die zuvor mit SetSessionProperty gesetzt wurde oder gibt den Standardwert zurück.

Parameter:

Parametername

Typ

Beschreibung

Name

String

Der Name der Einstellung.

Default

String

Der Standardwert der Einstellung, der zurückgegeben wird, wenn keine Einstellung mit dem angegebenen Namen existiert.

 

Rückgabewert:

String

Beispiel VBScript:

Call cRM.CurrentProject.SetSessionProperty("EigeneSessionVariable", "Wert")

Call cRM.CurrentProject.GetSessionProperty("EigeneSessionVariable", "")

Call cRM.CurrentProject.RemoveSessionProperty("EigeneSessionVariable")

Beispiel C#-Script:

cRM.CurrentProject.SetSessionProperty("EigeneSessionVariable", "Wert");

cRM.CurrentProject.GetSessionProperty("EigeneSessionVariable", "");

cRM.CurrentProject.RemoveSessionProperty("EigeneSessionVariable");