Initialize the Storage Emulator by Using the Command-Line Tool

http://msdn.microsoft.com/en-us/library/azure/gg433132.aspx

To initialize the storage emulator

  1. Click the Start button or press the Windows key. Begin typing Windows Azure Storage Emulator and select it when it appears. A command prompt window will pop up.

  2. In the command prompt window, type the following command:

    WAStorageEmulator init /sqlInstance <SQLServerInstance>

    where <SQLServerInstance> is the name of the SQL Server instance. To use LocalDb, specify (localdb)\v11.0 as the SQL Server instance.

    You can also use the following command, which directs the emulator to use the default SQL Server instance:

    WAStorageEmulator init /server .\\

    Or, you can use the following command, which reinitializes the database:

    WAStorageEmulator init /forceCreate

ImportantImportant
Using the /forcecreate argument removes all existing storage emulator data.
posted @ 2014-12-22 10:56  RobotTech  阅读(315)  评论(0编辑  收藏  举报