gpt4 book ai didi

c# - 在 Lotus Notes 中创建数据库

转载 作者:太空宇宙 更新时间:2023-11-03 14:09:20 24 4
gpt4 key购买 nike

我正在以编程方式在 Lotus Notes 中创建一个新数据库。我正在使用以下代码创建数据库:

mailDBNAme          = m_LotesNotesSession.GetEnvironmentString("DefaultMailTemplate", true); 
m_NotesDatabase = m_LotesNotesSession.GetDatabase("", mailDBNAme.Trim(), true);
m_NotesDatabaseNew = m_NotesDatabase.CreateCopy("", p_strDestinationPath, 13369344);//
m_NotesDatabaseNew.Title = "Converted NSF";

在上面的代码中,我最多只能创建 4GB 的数据库,而且不能超过 4GB。但我想创建大型 NSF 文件。

我该怎么做?

最佳答案

假设您在 Domino 5 或更高版本上运行,您应该能够省略 maxsize 参数。来自 Domino Designer 帮助:

maxsize%

Note This parameter is new with Release 5.

Integer. Optional. The maximum size (in gigabytes) that you would like to assign to the new database. This parameter applies only to Release 4 databases or those created on a server that has not been upgraded to Release 5. Entering an integer greater than 4, generates a run-time error that reads "Maximum size for database is 4 (gigabytes)," and the script fails.

关于c# - 在 Lotus Notes 中创建数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8310693/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com