Class SdkEnvironmentOptions
- Namespace
- RDCore.SDK.Server.Configuration
- Assembly
- RDCore.SDK.dll
Runtime environment settings, bound from appsettings.json. These become the session's
IRuntimeEnvironmentProfile.
public record SdkEnvironmentOptions : IEquatable<SdkEnvironmentOptions>
- Inheritance
-
SdkEnvironmentOptions
- Implements
- Inherited Members
Properties
AllowDllImports
🎯 Whether a Declare'd library import may actually be called. true by default; set it
false to refuse every one of them.
public bool AllowDllImports { get; set; }
Property Value
Remarks
The blunt instrument, and deliberately platform-wide: a VBA environment that can call into native
libraries is a way to run arbitrary code, and this is the switch an administrator has that needs no
extension installed to work. Finer-grained answers - per library, per entry point, per caller - are an
IExternalCallInterceptor's job, and this is the one policy the platform ships with so that the
refusal path is exercised whether or not anybody wrote one.
AnsiCodePage
The ANSI code page for Byte() ↔ String and non-Unicode Chr / Asc.
public int AnsiCodePage { get; set; }
Property Value
DatabaseCompare
The comparison mode Option Compare Database stands for on this platform: Text
or Binary. Microsoft Access compares by the sort order of the database, which is not
case-sensitive; that is the default.
public OptionCompare DatabaseCompare { get; set; }
Property Value
ErlLineNumbering
🎯 What Erl counts as the line a run-time error was raised at: DocumentLine (the
default - the line the faulting statement is really on) or LineLabel (the last line-number
label before it, bug for bug with MS-VBA).
public VBErlLineNumbering ErlLineNumbering { get; set; }
Property Value
Is64Bit
true for a 64-bit environment (LongPtr width, #If Win64 / #If VBA7).
public bool Is64Bit { get; set; }
Property Value
Lcid
The environment locale identifier. 0 (the default) means the invariant locale.
public int Lcid { get; set; }
Property Value
SupportsOptionCompareDatabase
true when the host supports the Option Compare Database directive (Microsoft Access).
public bool SupportsOptionCompareDatabase { get; set; }