c# - The type or namespace name 'Server' could not be found (are you missing a using directive or an assembly reference?) -


the type or namespace name 'server' not found (are missing  using directive or assembly reference?)   

what namespaces or assemblies added counter error.similar error thrown when using serverconnection class.

you should refer below assembly

namespace: microsoft.sqlserver.management.common

assembly: microsoft.sqlserver.connectioninfo (in microsoft.sqlserver.connectioninfo.dll)

find more here


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -