Attach libraries to the SQL server from the command line.
Command |
Details |
---|---|
-Oattachlibrary |
The operation being performed (required). |
-NLibraryName |
The database name of the library to attach. |
-DFdataFilePath |
The path to the data file being attached, including the name of the file (required). |
-DLlogFilePath |
The path to the log file being imported, including the name of the file (required). |
-VUusername |
Vault administrator account user name (required). |
-VPpassword |
Vault administrator account password (required). |
-DBUsaUser |
The SQL sa account user name (required unless default sa account is used). |
-DBPsapassword |
The SQL sa account password (required unless default sa account is used). |
Example
Connectivity.ADMSConsole.exe -Oattachlibrary -N"Inventor Standard Content" -DF"c:\My Library Repository\Inventor Standard Content.mdf" -VUadministrator -VPadmin -DBUsername -DBPassword