我不明白OR语句在这个代码示例中做了什么.
DE.Properties("UserAccountControl").Value = CInt(DE.Properties("UserAccountControl").Value) Or AccountOptionsEnum.UF_ACCOUNTDISABLE
Run Code Online (Sandbox Code Playgroud)
DE.Properties("UserAccountControl").值表示小数.
枚举是整数.
我知道这是代码用于在Active Directory中停用用户但我不明白"OR"在这里是如何工作的.
谢谢