0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VisualStudioからCache`サーバへの接続

0
Posted at

自分のCache'サーバはlocalhost:1972がデフォルト。

Imports InterSystems.Data.CacheClient
Imports InterSystems.Data.CacheTypes

       'Cache'と接続する方法----------------------------------------
       Dim cnCache As CacheConnection
        Dim cacheConnectStr As String = "Server = localhost; Port=1972;" +
               "Log File = C:\VSProject\NewCarte\NewCarte\NewCarte\bin\NewCarte.log; Namespace = USER;" +
               "Password = yourpassword; USER ID = youruser"
        cnCache = New CacheConnection(cacheConnectStr)
        cnCache.Open()
        `必要な処理をここに記載
       cnCache.Close()
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?