ConfigSetEnvironment Method |
Indicates which environment is currently used.
Namespace:
AskiaPortalCmn.Configuration
Assembly:
AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax public static void SetEnvironment(
ConfigEnvMode mode
)
Public Shared Sub SetEnvironment (
mode As ConfigEnvMode
)
public:
static void SetEnvironment(
ConfigEnvMode mode
)
Parameters
- mode
- Type: AskiaPortalCmn.ConfigurationConfigEnvMode
Mode to use
Exceptions Remarks
This method must be called before the
initialization of the config and the database,
otherwise it will throw an exception
See Also