📜  如何在 salesforce 类型中查找沙箱名称 - 无论代码示例
📅  最后修改于: 2022-03-11 14:58:10.983000             🧑  作者: Mango
代码示例2
private static Boolean runningInASandbox() {
return [SELECT Id, IsSandbox FROM Organization LIMIT 1].IsSandbox;
}