put_option 参数

上次修改时间: 2006年9月21日

适用范围: SharePoint Foundation 2010

数据类型:String

如果此值设置为 overwrite,则启用服务器以覆盖现有文件;如果此值设置为 edit,则不允许覆盖。若要创建目录,还可以指定 createdir。指定 migrationsemantics 可保留有关文档创建者、文档修改者和文档创建时间的信息。在与 put documents 方法 方法一起使用时,此值还指定保留签入注释。必须为此方法指定其他每个参数的元数据。用户必须具有管理权限或忽略 migrationsemantics。下面的示例指定 put_option 参数的所有三个值:

&put_option=overwrite,createdir,migrationsemantics