Initialize the Storage Emulator by Using the Command-Line Tool

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

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.app

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

    WAStorageEmulator init /sqlInstance <SQLServerInstance>code

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

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

    WAStorageEmulator init /server .\\rem

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

    WAStorageEmulator init /forceCreateio

ImportantImportant
Using the /forcecreate argument removes all existing storage emulator data.
相關文章
相關標籤/搜索