快速檢視 SQL Server 移轉小幫手 (SSMA) 主控台命令列選項:
| 插槽編號 | Switch | 必要 | Switch 自變數 | 允許的值 |
|---|---|---|---|---|
| 1 | -s|script |
Yes | scriptfile |
有效的 XML 檔案名稱。 主控台指令碼定義檔。 |
| 2 | -v|variable |
No | variablevaluefile |
有效的 XML 檔案名稱。 如果在指令檔中使用變數,則必須指定這個檔案。 |
| 3 | -c|serverconnection |
No | serverconnectionfile |
有效的 XML 檔案名稱。 此檔案包含伺服器連線資訊。 |
| 4 | -x|xmloutput |
No | xmloutputfile |
此選項指出 XML 格式的主控台輸出。 如果未指定此選項,預設輸出會以 TEXT 格式顯示。 如果未指定 xmloutputfile,XML 輸出會導向至 STDOUT。 Xmloutputfile 是寫入 XML 格式主控台輸出的檔案名稱。 |
| 5 | -l|log |
No | logfile |
有效的檔案名稱。 |
| 6 | -e|projectenvironment |
No | projectenvironmentfolder |
包含 SSMA 專案環境檔案的有效資料夾名稱。 |
| 7 | -p|securepassword |
No | -a|add { <server_id> [ , ...n ] |all } -c|serverconnection <server-connection-file> [ -v|variable <variable-value-file> ] [ -o|overwrite ] 或 -a|add { <server_id> [ ,...n ] |all } -s|script <script-file> [ -v|variable <variable-value-file> ] [ -o|overwrite ] -r|remove { <server_id> [ , ...n ] | all } <br /><br />-l|list-e|export { <server-id> [ , ...n ] | all } <encrypted-password-file>-i|import { <server-id> [ , ...n ] | all } <encrypted-password-file> |
如果指定,則這個選項不得與任何其他選項合併。server-id:為伺服器提供的唯一標識符 { string }server-connection-file:伺服器定義檔 (serverconnectionfile 或 scriptfile)。variable-value-file:用於的 server-connection-file變數定義檔。encrypted-password-file:使用使用者指定的複雜密碼加密的伺服器密碼檔案。 |
| 8 | -? |
No | 不適用 | 不適用 |