Editcmsmigrationprofile:Stsadm 操作 (Office SharePoint Server)
操作名称:Editcmsmigrationprofile
说明
通过提供配置文件名称、数据库服务器名称、数据库名称和数据库用户名来编辑迁移配置文件。
重要说明: |
---|
此操作区分大小写。如果使用大写“E”运行此操作,则会显示以下错误消息:“Windows SharePoint Services 管理工具遇到问题需要关闭。我们对此引起的不便表示抱歉。” |
语法
stsadm -o editcmsmigrationprofile
-profilename <profile name>
[-description] <description>
[-connectionstring] <connection string>
[-databaseserver] <server>
[-databasename] <name>
[-databaseuser] <user name>
[-databasepassword] <password>
[-auth] <authentication type>
[-emailto] <e-mail addresses>
[-emailon]
[-excludeschema]
[-keeptemporaryfiles]
[-enableeventreceivers]
参数
参数(短名称) |
值 |
是否必需 |
说明 |
profilename |
有效的配置文件名,例如“Profile1” |
是 |
迁移配置文件的名称 |
description |
有效的说明,例如“这是我的说明” |
否 |
迁移配置文件的说明 |
connectionstring |
否 |
提供连接到 Microsoft Content Management Server 2002 数据库所需的信息,包括服务器名称、数据库名称、用户名、密码和身份验证类型。 |
|
databaseserver (ds) |
有效的数据库服务器,例如“Databaseserver1” |
是 |
承载 Microsoft Content Management Server 2002 数据库并包含要迁移的内容的数据库服务器
注意:
数据库的名称必须针对安装的 Microsoft Content Management Server 2002。
|
databasename (dn) |
有效的数据库名称,例如“Databasename1” |
是 |
将从中迁移内容的 Microsoft Content Management Server 2002 服务器上的数据库名称 |
databaseuser (du) |
是 |
访问 Microsoft Content Management Server 2002 数据库的数据库用户名 |
|
databasepassword |
否 |
用户的数据库密码 |
|
auth |
以下任一值:
|
否 |
指定身份验证类型。默认情况下,将启用 Windows 身份验证。 |
emailto |
有效的电子邮件地址,格式为:someone@example.com |
否 |
迁移作业完成后,会向电子邮件地址列表发送成功或失败通知。使用分号来分隔多个电子邮件地址。 |
emailon |
以下任一值:
|
否 |
与 -emailto 参数一起使用。向电子邮件地址列表发送成功、失败、无(从不发送电子邮件)或成功和失败通知。 |
excludeschema |
<无> |
否 |
使用此选项时,内容类型不会包括在迁移包中;将使用目标处的内容类型。如果事先没有使用此选项进行了至少一次完整迁移,然后使用此选项进行了增量迁移,则对增量迁移和完整迁移均是如此。
注意:
默认情况下,包括架构,并且只能在完整迁移后使用 -excludeschema 参数。
|
keeptemporaryfiles |
以下任一值:
|
否 |
指定是否应在迁移后移除临时导出的文件。 |
enableeventreceivers |
以下任一值:
|
否 |
启用或禁用事件跟踪。 出于性能原因,默认情况下,在导入过程中禁用 enableeventreceivers 参数。但是,如果需要捕获事件(例如,如果您有依赖这些事件的第三方 Web 部件),则可以启用该参数来跟踪事件。 |