Initialize the Storage Emulator by Using the Command-Line Tool

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

Using the /forcecreate argument removes all existing storage emulator data.

posted on 2014-12-22 10:56  RobotTech  阅读(...)  评论(...编辑  收藏