自分の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()