What is “Connect Timeout” in sql server connection string?

后端 未结 8 1725
半阙折子戏
半阙折子戏 2020-12-06 08:46

I have the following connection string(get from a property of sql server):

Data Source=(LocalDB)\\v11.0;AttachDbFilename=C:\\Users\\myUser\\Desktop\\adoBanch         


        
8条回答
  •  爱一瞬间的悲伤
    2020-12-06 09:37

    Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.

    http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectiontimeout%28v=vs.110%29.aspx

提交回复
热议问题