Yes… But did you also add the BLE Widget to your project and then set it up to connect to your hardware? This must also be done.
Also, be aware that there may? still be some issues with the latest core libraries (in Arduino IDE) on the Arduino 101 as pertains to BLE: