Integrated Security=SSPI;ってなに?
SQL Server1年生なのでいろいろ調べてみた。
それは信頼関係接続の証。
SSPIってなんだろう。
国際衛星ビジネス協会(Society of Satellite Professional International)- 信頼関係接続(Security Support Provider Interface)こっちかなー
Dim cn As New SqlConnection cn.ConnectionString = _ "Data Source=(local);" _ + "Initial Catalog=Moo;" _ + "Integrated Security=SSPI;" _
マニュアルにはこう書いてある:
Connecting to a SQL Server Data Source:
Use the Integrated Security keyword, set to a value of SSPI, to specify Windows Authentication ...
SQL Serverデータソースに接続するにあたって:
(Windows認証を使用しているのであれば、)Integrated Security キーワードを使用し、値に「SSPI」を指定することによって、接続できます.
なるほどー